Object Reference

Output representation of an sObject with a reference ID along with any potential error.

Sample Response 

1{
2  "referenceid": "refQuote",
3  "record": {
4    "attributes": {
5      "type": "Quote",
6      "method": "POST"
7    },
8    "quantity": "2"
9  },
10  "error": {
11    "errorCode": "INVALID_API_INPUT",
12    "message": "Reference Id format is irrelevant."
13  }
14}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
referenceIdStringID that identifies the specific Salesforce object that’s returned in the API response.Small, 59.059.0
recordMap<String, Object>The sObject record data represented as a map of attribute names to their values.Small, 59.059.0
errorhttps://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_responses_error_response.htm[]Detailed information about any error associated with the sObject in the response.Small, 59.059.0