Timesheet 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":"Weekly API Test","tc9_et__Timesheet_Frequency__c":"Weekly","tc9_et__Weekly_Start_Day__c":"Monday","tc9_et__Timesheet_Entry_Format__c":"Start/End Times","tc9_et__Break_Entry_Format__c":"Total Minutes","tc9_et__Monday__c":true,"tc9_et__Tuesday__c":true,"tc9_et__Wednesday__c":true,"tc9_et__Thursday__c":true,"tc9_et__Friday__c":true,"tc9_et__Saturday__c":true,"tc9_et__Sunday__c":true,"tc9_pr__Start_Date__c":"2023-01-01","tc9_pr__End_Date__c":"2023-12-31","tc9_et__Include_Public_Holidays__c":true,"RecordTypeId":"undefined"}'