Get the Entity Definition in detail
The purpose of the "Get Entity Definition by ID" call is to return information for an individual Close Entity regardless of whether it was added to a period or not. The data that is returned will look similar to what might be seen in the "Details" section on the "Entity Definition Details" page.
Path parameters
-
id
integer Required id the primary key of the requested entity definition
Query parameters
-
deep
boolean deep
Iftrue
, all children of the requested entity will also be returned. Optional. Default isfalse
.
GET
/cs-close-api/entity-definitions/{id}
curl \
--request GET 'http://close-service:8082/cs-close-api/entity-definitions/{id}'
Response examples (200)
{
"id": 42,
"parentId": 42,
"name": "string",
"number": "string",
"description": "string",
"hasChildren": true,
"childCount": 42
}