Logo
2cloudnine Payroll API API Documentation

Employee by External ID

GET {{url}}/services/data/v{{version}}/sobjects/:SOBJECT_API_NAME/:FIELD_NAME/:FIELD_VALUE

Creates new records or updates existing records (upserts records) based on the value of a specified external ID field.

If the specified value doesn't exist, a new record is created. If a record does exist with that value, the field values specified in the request body are updated. If the value is not unique, the REST API returns a 300 response with the list of matching records.

HEAD, GET, PATCH, DELETE, POST

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Authorization
string




RESPONSES

status





Curl
curl -X GET 'undefined/services/data/vundefined/sobjects/:SOBJECT_API_NAME/:FIELD_NAME/:FIELD_VALUE' -H 'Content-Type: application/json' -H 'Authorization: Bearer undefined'

ENDPOINTS