POST api/ObjectDelete/{id}?model={model}

Deletes a record with the specified id from a table

Request Information

Parameters

NameDescriptionAdditional information
model
The model name of the table

Define this parameter in the request URI.

id
record-id

Define this parameter in the request URI.

authTokenInput
Contains the authentication token

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AuthToken": "your authentication token"
}

application/xml, text/xml

Sample:
<AuthTokenInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/openErpRestApi.Models">
  <AuthToken>your authentication token</AuthToken>
</AuthTokenInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>