Patch Non-Employee Record

PATCH {{baseUrl}}/non-employee-records/:id

This request will patch a non-employee record. There are two contextual uses for this endpoint: 1. The user has the role context of idn:nesr:update, in which case they update all available fields. 2. The user is owner of the source, in this case they can only update the end date.

Request Body

{"0"=>{"op"=>"replace", "path"=>"/endDate", "value"=>"2019-08-23T18:40:35.772Z"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"ef38f94347e94562b5bb8424a56397d8","accountName":"Abby.Smith","firstName":"William","lastName":"Smith","email":"william.smith@example.com","phone":"5555555555","manager":"jane.doe","sourceId":"2c91808568c529c60168cca6f90c1313","data":{"description":"Auditing"},"startDate":"2019-08-23T18:52:59.162Z","endDate":"2020-08-23T18:52:59.162Z","modified":"2019-08-23T18:52:59.162Z","created":"2019-08-23T18:40:35.772Z"}