Assignment Update
PATCH
{{url}}/services/data/v{{version}}/sobjects/:SOBJECT_API_NAME/:RECORD_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 -X PATCH 'undefined/services/data/vundefined/sobjects/:SOBJECT_API_NAME/:RECORD_ID' -H 'Content-Type: application/json' -H 'Authorization: Bearer undefined' -d '{"tc9_pr__Employee__c":"0038c000038P1quAAC","tc9_pr__Payee__c":"a7P8c00000084JGEAY","tc9_pr__Client__c":"0018c00002MVqqUAAT","tc9_pr__Assignment_Name__c":"Test assignment","tc9_et__Invoice_Schedule__c":"a7X8c000000YKqSEAW","tc9_pr__Schedule__c":"a7X8c000000YKqDEAW","tc9_et__Timesheet_Approver__c":"0038c000036fMZXAA2","tc9_pr__Leave_Approver__c":"0038c000036fMZXAA2","tc9_et__Invoice_Tax_ID__c":"a7p8c000000ZGL1AAO","tc9_et__Invoice_Taxable__c":"Yes","tc9_pr__Payment_Entity__c":"0018c00002MVqqUAAT","tc9_et__Interpretation_Rule__c":"a7l8c000000YfAVAA0","tc9_et__Expense_Claim_Approver__c":"0038c000036fMZXAA2","tc9_et__Client_Hiring_Manager__c":"0038c000036fMZXAA2","tc9_et__Alternative_TimeSheet_Approver__c":"0038c000036fMZXAA2","tc9_et__Alternative_Expense_Claim_Approver__c":"0038c000036fMZXAA2","tc9_pr__Alternative_Leave_Approver__c":"0038c000036fMZXAA2","tc9_pr__Assignment_Start_Date__c":"2022-01-01","tc9_pr__Assignment_End_Date__c":"2022-01-31","tc9_pr__Employment_Cost_Template_Group__c":"","tc9_et__Timesheet_Calendar__c":"a6p8c000000lpvCAAQ","tc9_et__Public_Holiday_Calendar__c":"a6p8c000000lpv0AAA","tc9_et__Invoice_To_Account__c":"0018c00002MVqqUAAT","tc9_et__Invoice_To_Contact__c":"0038c000036fMZXAA2","RecordTypeId":"0128c000001Ww6PAAS"}'