Creates a single record for a custom object.
Endpoint
https://api.neoncrm.com/neonws/services/api/customObjectRecord/createCustomObjectRecord
Request
https://api.neoncrm.com/neonws/services/api/customObjectRecord/createCustomObjectRecord?userSessionId=[session id]&customObjectRecord.objectApiName=Museum_Visits_c&customObjectRecord.customObjectRecordDataList.customObjectRecordData.name=Account_ID_c&customObjectRecord.customObjectRecordDataList.customObjectRecordData.value=1247
&customObjectRecord.customObjectRecordDataList.customObjectRecordData.name=Visit_Date_c&customObjectRecord.customObjectRecordDataList.customObjectRecordData.value=04/19/2017
&customObjectRecord.customObjectRecordDataList.customObjectRecordData.name=Group_Size_c&customObjectRecord.customObjectRecordDataList.customObjectRecordData.value=3
Response
{
"createCustomObjectRecordResponse": {
"operationResult": "SUCCESS",
"responseDateTime": "2017-04-20T04:13:11.427+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. |
| sendAcknowledgeEmail |
|
Possible values: TRUE, FALSE. Default is FALSE. Determines whether to send the custom object’s Back-End Email Notification. |
| The following pair of fields may be repeated for each field to be added to this record: |
|
|
| 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 |
Description |
| customObjectRecord.apiObjectName |
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. |
|