Logo
2cloudnine Payroll API API Documentation

Pay Code Upsert

PATCH {{url}}/services/data/v{{version}}/sobjects/:SOBJECT_API_NAME/:EXTERNAL_ID_FIELD/:EXTERNAL_ID

  • Insert: Use the POST request to create a new client.
  • Upsert: Use the PUT request to create a new client or update an existing one.
  • Update: Use the PATCH request to update an existing client.
  • Retrieve: Use the GET request to retrieve information about a specific client.
  • Delete: Use the DELETE request to delete a client.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Authorization
string




RESPONSES

status





Curl
curl -X PATCH 'undefined/services/data/vundefined/sobjects/:SOBJECT_API_NAME/:EXTERNAL_ID_FIELD/:EXTERNAL_ID' -H 'Content-Type: application/json' -H 'Authorization: Bearer undefined' -d '{"Name":"Test Pay Code","tc9_pr__Description__c":"API Test","tc9_pr__Pay_Advice_Description__c":"Test Pay Code","tc9_pr__STP_Payment_Type__c":"Gross","RecordTypeId":"undefined","tc9_pr__Pay_Rate_Multiplier__c":1}'

ENDPOINTS