Pay Advice 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.
Request Body
{"tc9_pr__Employee__r"=>{"tc9_int__External_Id__c"=>"emp_{{masterExternalId}}"}, "tc9_pr__Payee__r"=>{"tc9_int__External_Id__c"=>"{{masterExternalId}}"}, "tc9_pr__Date_Paid__c"=>"2023-01-10", "tc9_pr__Period_Start_Date__c"=>"2023-01-02", "tc9_pr__Period_End_Date__c"=>"2023-01-10", "tc9_pr__Pay_Advice_Sensitivity_Level__c"=>"Low", "tc9_pr__Gross_Earnings__c"=>1000.0, "tc9_pr__Net_Earnings__c"=>900.0, "tc9_pr__GST__c"=>100.0, "tc9_pr__Pay_Advice_Delivery_Method__c"=>"Email as PDF", "tc9_pr__Pay_Advice_Template__r"=>{"External_Id__c"=>"{{masterExternalId}}"}, "tc9_pr__Pay_Advice_Message__c"=>"Message gets inserted here", "RecordTypeId"=>"{{recordType.payAdvice.payAdvice}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |