GET api/GetLocationsByStruture/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Location| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 30 |
|
| Address | string |
String length: inclusive between 0 and 125 |
|
| PostalCode | string |
String length: inclusive between 0 and 5 |
|
| City | string |
String length: inclusive between 0 and 30 |
|
| Plan | Collection of byte |
None. |
|
| Structure | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 1",
"Address": "sample string 2",
"PostalCode": "sample string 3",
"City": "sample string 4",
"Plan": "QEA=",
"Structure": 1
}
application/xml, text/xml
Sample:
<Location xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Models"> <Address>sample string 2</Address> <City>sample string 4</City> <Id>1</Id> <Name>sample string 1</Name> <Plan>QEA=</Plan> <PostalCode>sample string 3</PostalCode> <Structure>1</Structure> </Location>