Payroll Calendar 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 -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":"Payroll Calendar API Test","tc9_pr__Payment_Entity__r":{"tc9_int__External_Id__c":"undefined"},"tc9_pr__Schedule__r":{"tc9_int__External_Id__c":"pay_undefined"},"tc9_pr__Start_Date__c":"2022-01-01","tc9_pr__End_Date__c":"2025-01-03","tc9_pr__No_Days_Payroll_Date_after_End_Date__c":1,"tc9_pr__No_Days_Payment_Date_after_End_Date__c":2,"tc9_pr__Default_Payee_Aggregate_Dates__c":"Australia","tc9_pr__Generate_Calendar_Period_records__c":true,"RecordTypeId":"undefined"}'