API v1 Reference

Update Custom Object Record

Updates a single record for a custom object.

Endpoint

https://api.neoncrm.com/neonws/services/api/customObjectRecord/updateCustomObjectRecord

Request


https://api.neoncrm.com/neonws/services/api/customObjectRecord/createCustomObjectRecord?userSessionId=[session id]&customObjectRecord.objectApiName=Museum_Visits_c&customObjectRecord.recordId=2&customObjectRecord.customObjectRecordDataList.customObjectRecordData.name=Group_Size_c&customObjectRecord.customObjectRecordDataList.customObjectRecordData.value=4

Response

{
  "updateCustomObjectRecordResponse": {
    "operationResult": "SUCCESS",
    "responseDateTime": "2017-04-20T04:14:03.525+0000",
    "customObjectRecord": {
      "objectApiName": "Museum_Visits_c",
      "recordId": 2
    }
  }
}

Request Parameters

Parameter Required Description
customObjectRecord.objectApiName Required This is the token used to identify the Custom Object when accessing it from the API.
customObjectRecord.recordId Required The ID of the record to be updated.
The following pair of fields may be repeated for each field to be updated:
customObjectRecord.customObjectRecordDataList.customObjectRecordData.name The name of a field in this custom object.
customObjectRecord.customObjectRecordDataList.customObjectRecordData.value The value that corresponds to the previously specified field.

Response Parameters

Parameter Required Description
customObjectRecord.objectApiName This is the token used to identify the Custom Object when accessing it from the API.
customObjectRecord.recordId The ID of the record that has just been created.

Error Codes

Code Text Description
20005 Object data is required.
20006 Object data name is invalid.
20007 Object data value is invalid.
20001 Object API name is required.
20002 Object API name is invalid.