Interpretation Rule 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

{"Name"=>"Test interpretation rule", "tc9_et__Frequency_Standard_Hours__c"=>38, "tc9_et__Minimum_Frequency_Paid_Hours__c"=>0, "tc9_et__Minimum_Sunday_Paid_Hours__c"=>4, "tc9_et__Minimum_Saturday_Paid_Hours__c"=>4, "tc9_et__Minimum_Public_Holiday_Paid_Hours__c"=>4, "tc9_et__Standard_Daily_Start_Time__c"=>"08:00:00.000Z", "tc9_et__Standard_Daily_End_Time__c"=>"17:00:00.000Z", "tc9_et__Days_Frequency_Breakpoints_Apply__c"=>"Monday;Tuesday;Wednesday;Thursday;Friday", "tc9_et__Timesheet_Frequency__c"=>"Weekly", "tc9_et__Monday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Tuesday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Wednesday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Thursday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Friday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Saturday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Sunday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "tc9_et__Public_Holiday_Interpretation_Type__c"=>"Standard Time with Time Breakpoints", "RecordTypeId"=>"{{recordType.interpretationRule.hourlyRates}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring