Project Code 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 Project Code", "tc9_pr__Client__r"=>{"tc9_int__External_Id__c"=>"{{masterExternalId}}"}, "tc9_pr__Assignment__r"=>{"tc9_int__External_Id__c"=>"{{masterExternalId}}"}, "tc9_et__Interpretation_Breakpoint_Type__c"=>"", "tc9_et__Is_an_Interpretation_Variation__c"=>"Yes", "tc9_et__Variation_Type__c"=>"24hr Care Shift", "tc9_et__Allowance_Type__c"=>"", "recordTypeId"=>"{{recordType.projectCode.timesheetActivityAssignment}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring