vincere-io / restful-api-support

5 stars 0 forks source link

Error 400 when using PUT on candidate/{id}/bankDetails #20

Open Thesnipergecko opened 3 years ago

Thesnipergecko commented 3 years ago

From here: https://api.vincere.io/#operation/createBankDetails Method: candidate/'.$candidateid.'/bankDetails

stdClass Object ( [message] => Data is invalid [status] => FAILED [httpStatus] => 400 [errorId] => c9fe000f-9519-4e1b-8671-f3ac43995eb0 [errors] => Array ( [0] => Cannot deserialize instance ofjava.util.HashSetout of START_OBJECT token at [Source: (PushbackInputStream); line: 1, column: 1] ) )

POST seems to work fine for creating a new bank detail for a candidate.