Logo
2cloudnine Payroll API API Documentation

Pay Transaction Upsert

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

Accesses records based on the specified object ID. Retrieves, updates, or deletes records. This resource can also be used to retrieve field values. Use the GET method to retrieve records or fields, the DELETE method to delete records, and the PATCH method to update records.

 

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__Assignment__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Payee__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Employee__r":{"tc9_int__External_Id__c":"emp_undefined"},"tc9_pr__Payment_Entity__r":{"tc9_int__External_Id__c":"pay_undefined"},"tc9_et__Invoice_Tax_ID__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Pay_Code__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Project_Code__r":{"tc9_int__External_Id__c":"undefined"},"tc9_et__Invoice_Schedule__r":{"tc9_int__External_Id__c":"inv_undefined"},"tc9_pr__Schedule__r":{"tc9_int__External_Id__c":"pay_undefined"},"tc9_et__To_Be_Invoiced__c":true,"tc9_pr__Entry_Date__c":"2023-01-02","tc9_pr__Description__c":"Test description","tc9_et__Invoice_Rate__c":50,"tc9_pr__Pay_Rate__c":25,"tc9_et__Invoice_Taxable__c":"Yes","tc9_pr__Quantity__c":8,"tc9_pr__Transaction_Type__c":"Timesheet","RecordTypeId":"undefined"}'

ENDPOINTS