POST api/DeviceCommunication/GetEntityData
Request Information
URI Parameters
None.
Body Parameters
EntityListRequestNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<EntityListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sterlite_WebApi.Request" />
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
EntityListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | string |
None. |
|
| ErrorDescription | string |
None. |
|
| lstEntityData | Collection of clsResEntity |
None. |
Response Formats
application/json, text/json
Sample:
{
"lstEntityData": [
{
"mastCode": 1,
"mastName": "sample string 2"
},
{
"mastCode": 1,
"mastName": "sample string 2"
}
],
"errorCode": "sample string 1",
"errorDescription": "sample string 2"
}
application/xml, text/xml
Sample:
<EntityListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sterlite_WebApi.Response">
<ErrorCode>sample string 1</ErrorCode>
<ErrorDescription>sample string 2</ErrorDescription>
<lstEntityData>
<clsResEntity>
<MastCode>1</MastCode>
<MastName>sample string 2</MastName>
</clsResEntity>
<clsResEntity>
<MastCode>1</MastCode>
<MastName>sample string 2</MastName>
</clsResEntity>
</lstEntityData>
</EntityListResponse>