Entities - Delete entity
API Url
Delete a specific entity record. Supports also a parent-child relationship, {parentId} being the parent.
DELETE
http://localhost:16010/ProMarkREST/web/Entity/data/{parent}/{parentId}/{child}/{childId}
Permissions: user
Request headers
| Field | Type | Description |
|---|---|---|
Accept-Languageoptional | String | =en-GB Language use for localization. |
X-Clientoptional | String | =Client type. "Portal""Mobile""Admin" |
X-Roleoptional | Number | ProMark role (1: Employee, 2: User). {12} |
X-WebPart-Idoptional | Number | Unique web-part identifier. |
Path parameters
| Field | Type | Description |
|---|---|---|
childoptional | String | Name of the child entity. |
childIdoptional | String | ID of the child entity. Mandatory if 'child' is defined. |
| parent | String | Name of the entity. |
| parentId | String | ID of the entity. |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |