GET api/House/Get?mandatorId={mandatorId}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mandatorId | integer |
Required |
|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MDLHouse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| MandatorId | integer |
None. |
|
| ShortCut | string |
None. |
|
| Identifier | string |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"MandatorId": 2,
"ShortCut": "sample string 3",
"Identifier": "sample string 4",
"Name": "sample string 5"
},
{
"Id": 1,
"MandatorId": 2,
"ShortCut": "sample string 3",
"Identifier": "sample string 4",
"Name": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfMDLHouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
<MDLHouse>
<Id>1</Id>
<Identifier>sample string 4</Identifier>
<MandatorId>2</MandatorId>
<Name>sample string 5</Name>
<ShortCut>sample string 3</ShortCut>
</MDLHouse>
<MDLHouse>
<Id>1</Id>
<Identifier>sample string 4</Identifier>
<MandatorId>2</MandatorId>
<Name>sample string 5</Name>
<ShortCut>sample string 3</ShortCut>
</MDLHouse>
</ArrayOfMDLHouse>