Payee 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.

Request Body

{"tc9_pr__Employee__r"=>{"tc9_int__External_Id__c"=>"emp_{{masterExternalId}}"}, "tc9_pr__Earner_Type__c"=>"PAYG", "tc9_pr__Leave_Template__r"=>{"External_Id__c"=>"{{masterExternalId}}"}, "tc9_pr__Pay_Advice_Delivery_Method__c"=>"Email as PDF", "tc9_pr__Pay_Advice_Template__r"=>{"External_Id__c"=>"{{masterExternalId}}"}, "tc9_pr__Payment_Consolidation__c"=>"Consolidated", "tc9_pr__Payment_Entity__r"=>{"tc9_int__External_Id__c"=>"pay_{{masterExternalId}}"}, "tc9_pr__Payroll_Start_Date__c"=>"2022-01-01", "tc9_pr__Payroll_System__c"=>"2cloudnine Payroll AUS", "tc9_pr__Primary_Location__r"=>{"tc9_int__External_Id__c"=>"{{masterExternalId}}"}, "tc9_pr__Primary_Record__c"=>true, "tc9_pr__Schedule__r"=>{"tc9_int__External_Id__c"=>"pay_{{masterExternalId}}"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring