GET api/Entities/GetEntityDescription?entityid={entityid}&sortId={sortId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityid | integer |
Required |
|
sortId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of EntityDetailsListDTOName | Description | Type | Additional information |
---|---|---|---|
entityDescriptionId | integer |
None. |
|
title | string |
None. |
|
details | Collection of EntityDescriptionDetails |
None. |
Response Formats
application/json, text/json
Sample:
[ { "entityDescriptionId": 1, "title": "sample string 2", "details": [ { "EntityDescriptionDetailsId": 1, "EntityDescriptionId": 1, "Title": "sample string 2", "isActive": true, "active": true }, { "EntityDescriptionDetailsId": 1, "EntityDescriptionId": 1, "Title": "sample string 2", "isActive": true, "active": true } ] }, { "entityDescriptionId": 1, "title": "sample string 2", "details": [ { "EntityDescriptionDetailsId": 1, "EntityDescriptionId": 1, "Title": "sample string 2", "isActive": true, "active": true }, { "EntityDescriptionDetailsId": 1, "EntityDescriptionId": 1, "Title": "sample string 2", "isActive": true, "active": true } ] } ]
text/html
Sample:
[{"entityDescriptionId":1,"title":"sample string 2","details":[{"EntityDescriptionDetailsId":1,"EntityDescriptionId":1,"Title":"sample string 2","isActive":true,"active":true},{"EntityDescriptionDetailsId":1,"EntityDescriptionId":1,"Title":"sample string 2","isActive":true,"active":true}]},{"entityDescriptionId":1,"title":"sample string 2","details":[{"EntityDescriptionDetailsId":1,"EntityDescriptionId":1,"Title":"sample string 2","isActive":true,"active":true},{"EntityDescriptionDetailsId":1,"EntityDescriptionId":1,"Title":"sample string 2","isActive":true,"active":true}]}]
application/xml, text/xml
Sample:
<ArrayOfEntityDetailsListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DynamicCms.DTOs"> <EntityDetailsListDTO> <details xmlns:d3p1="http://schemas.datacontract.org/2004/07/DynamicCms"> <d3p1:EntityDescriptionDetails> <d3p1:EntityDescriptionDetailsId>1</d3p1:EntityDescriptionDetailsId> <d3p1:EntityDescriptionId>1</d3p1:EntityDescriptionId> <d3p1:Title>sample string 2</d3p1:Title> <d3p1:active>true</d3p1:active> <d3p1:isActive>true</d3p1:isActive> </d3p1:EntityDescriptionDetails> <d3p1:EntityDescriptionDetails> <d3p1:EntityDescriptionDetailsId>1</d3p1:EntityDescriptionDetailsId> <d3p1:EntityDescriptionId>1</d3p1:EntityDescriptionId> <d3p1:Title>sample string 2</d3p1:Title> <d3p1:active>true</d3p1:active> <d3p1:isActive>true</d3p1:isActive> </d3p1:EntityDescriptionDetails> </details> <entityDescriptionId>1</entityDescriptionId> <title>sample string 2</title> </EntityDetailsListDTO> <EntityDetailsListDTO> <details xmlns:d3p1="http://schemas.datacontract.org/2004/07/DynamicCms"> <d3p1:EntityDescriptionDetails> <d3p1:EntityDescriptionDetailsId>1</d3p1:EntityDescriptionDetailsId> <d3p1:EntityDescriptionId>1</d3p1:EntityDescriptionId> <d3p1:Title>sample string 2</d3p1:Title> <d3p1:active>true</d3p1:active> <d3p1:isActive>true</d3p1:isActive> </d3p1:EntityDescriptionDetails> <d3p1:EntityDescriptionDetails> <d3p1:EntityDescriptionDetailsId>1</d3p1:EntityDescriptionDetailsId> <d3p1:EntityDescriptionId>1</d3p1:EntityDescriptionId> <d3p1:Title>sample string 2</d3p1:Title> <d3p1:active>true</d3p1:active> <d3p1:isActive>true</d3p1:isActive> </d3p1:EntityDescriptionDetails> </details> <entityDescriptionId>1</entityDescriptionId> <title>sample string 2</title> </EntityDetailsListDTO> </ArrayOfEntityDetailsListDTO>