Logo
IdentityNow API Documentation

Create Non-Employee Record

POST {{baseUrl}}/non-employee-records

This request will create a non-employee record. Requires role context of idn:nesr:create

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




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" }



Curl
curl -X POST 'https://tenant.api.identitynow.com/v3/non-employee-records' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"accountName":"william.smith","firstName":"William","lastName":"Smith","email":"william.smith@example.com","phone":"5555555555","manager":"jane.doe","sourceId":"2c91808568c529c60168cca6f90c1313","startDate":"2020-03-24T00:00:00-05:00","endDate":"2021-03-25T00:00:00-05:00","data":{"description":"Auditing"}}'

ENDPOINTS