You need to sign in to do that
Don't have an account?
KJesse
Rest API cURL request for Hierarchy SObject
Hi I am trying to send a cURL update to a salesforce object. I have had no problem with other fields like checkbox and picklist but I cannot figure out a hierarchy sobject. The field I am trying to update via cURL is
Name: Parent Account API: Parent Type: Hierarchy
What my content looks like is below with the following error. What do I need to do to send a valid cURL command to update this field?
Content
The error is:
Thanks for any help :)
Name: Parent Account API: Parent Type: Hierarchy
What my content looks like is below with the following error. What do I need to do to send a valid cURL command to update this field?
Content
$content = json_encode ( array ( "Name" => $fields ['Client_Name'], "Parent" => 'Some Nested SObject' ) );
The error is:
[{"message":"The value provided for foreign key reference Parent is not a nested SObject","errorCode":"INVALID_FIELD"}]
Thanks for any help :)
All Answers