Logo
2cloudnine Payroll API API Documentation

Pay Advice Line 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 '{"tc9_pr__Employee__r":{"tc9_int__External_Id__c":"emp_undefined"},"tc9_pr__Payee__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Pay_Advice__r":{"External_Id__c":"undefined"},"tc9_pr__Pay_Code__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Current_Units__c":1.0,"tc9_pr__YTD_Units__c":2.0,"tc9_pr__Display_Pay_Code__c":"Yes","tc9_pr__Rate__c":10,"tc9_pr__Pay_Rate_Multiplier__c":1,"tc9_pr__Current_Value__c":10,"tc9_pr__YTD_Value__c":20}'

ENDPOINTS