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

FieldTypeDescription
Accept-LanguageoptionalString

=en-GB Language use for localization.

X-ClientoptionalString

=Client type.

Allowed values:"Portal""Mobile""Admin"
X-RoleoptionalNumber

ProMark role (1: Employee, 2: User).

Allowed values:{12}
X-WebPart-IdoptionalNumber

Unique web-part identifier.

Path parameters

FieldTypeDescription
childoptionalString

Name of the child entity.

childIdoptionalString

ID of the child entity. Mandatory if 'child' is defined.

parentString

Name of the entity.

parentIdString

ID of the entity.

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  errorCodeNumber

Error code.

  errorMessageString

Error description.