Pay Advice Template 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":"Default PAYG","tc9_pr__Schedule__r":{"tc9_int__External_Id__c":"pay_undefined"},"tc9_pr__Payment_Entity__r":{"tc9_int__External_Id__c":"pay_undefined"},"tc9_pr__Visualforce_Page__c":"StdAusPayRollPayAdvice_Page","tc9_pr__Available_for_Use__c":"Yes","tc9_pr__Default__c":false,"tc9_pr__Email_Template_Online__c":"Text Pay Advice Template","tc9_pr__Email_Template_PDF__c":"Text Pay Advice Template","tc9_pr__Document_Title__c":"Your Pay Slip","tc9_pr__Colour_Header_Label_Text__c":"#0A0908","tc9_pr__Colour_Header_Value_Text__c":"#22333B","tc9_pr__Colour_Section_Heading_Background__c":"#DED9E2","tc9_pr__Colour_Section_Heading_Text__c":"#22333B","tc9_pr__Colour_Section_Detail_Background__c":"#ffffff","tc9_pr__Colour_Section_Detail_Text__c":"#0A0908","tc9_pr__Display_Address_Border__c":"Yes","tc9_pr__Pay_Advice_Record_Type__c":"Pay_Advice"}'