Deletes a single record from a custom object.
Endpoint
https://api.neoncrm.com/neonws/services/api/customObjectRecord/deleteCustomObjectRecord
Request
https://api.neoncrm.com/neonws/services/api/customObjectRecord/deleteCustomObjectRecord?userSessionId=[session id]&customObjectRecord.objectApiName=Museum_Visits_c&customObjectRecord.recordId=2
Response
{
"deleteCustomObjectRecordResponse": {
"operationResult": "SUCCESS",
"responseMessage": "Record has been deleted.",
"responseDateTime": "2017-04-20T04:13:28.702+0000"
}
}
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 deleted. |
Error Codes
| Code |
Text |
Description |
| 20001 |
Object API name is required. |
|
| 20002 |
Object API name is invalid. |
|
| 20003 |
Object record id is required. |
|