GET api/entityinstances/{entityInstanceId}/can-delete

Checks whether a specific EntityInstance can be deleted.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityInstanceId

integer

Required



Body Parameters

None.



Response Information

Resource Description

A Tuple containing respectively: - A boolean indicatig whether the EntityInstance can be deleted - An id representing the reason the EntityInstance can't be deleted, if this is the case.

ValueTupleOfBooleanAndInt32

NameDescriptionTypeAdditional information
Item1

boolean

None.

Item2

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Item1": true,
  "Item2": 2
}

application/xml, text/xml

Sample:
<ValueTupleOfbooleanint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <Item1>true</Item1>
  <Item2>2</Item2>
</ValueTupleOfbooleanint>