GET Locations/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
LocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Street1 | string |
None. |
|
| Street2 | string |
None. |
|
| City | string |
None. |
|
| ZipCode | string |
None. |
|
| StateId | globally unique identifier |
None. |
|
| StateDescription | string |
None. |
|
| CountryId | globally unique identifier |
None. |
|
| ContactName | string |
None. |
|
| ContactPhoneNumber | string |
None. |
|
| CountryDescription | string |
None. |
|
| LocationsIdentificationsTypesModels | Collection of LocationIdentificationTypeModelDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "4df87a58-7e64-4fbe-9fc3-ed62a9780c2e",
"NetworkId": "465977c7-e77d-455c-aeb6-8e2a45a4328f",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "1a789950-1883-4c4c-8295-5e84b7f9001f",
"StateDescription": "sample string 9",
"CountryId": "ed3bf2d8-0c6f-44aa-b2ef-ccb3a901332a",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "e8025f2f-4485-42c1-8513-dd0752e89ba8",
"IdentificationTypeModelId": "b71d6058-cb9d-407a-866b-b85a227177c7",
"IdentificationType": 64
},
{
"LocationId": "e8025f2f-4485-42c1-8513-dd0752e89ba8",
"IdentificationTypeModelId": "b71d6058-cb9d-407a-866b-b85a227177c7",
"IdentificationType": 64
}
]
}
application/xml, text/xml
Sample:
<LocationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<City>sample string 6</City>
<Code>sample string 3</Code>
<ContactName>sample string 11</ContactName>
<ContactPhoneNumber>sample string 12</ContactPhoneNumber>
<CountryDescription>sample string 13</CountryDescription>
<CountryId>ed3bf2d8-0c6f-44aa-b2ef-ccb3a901332a</CountryId>
<Id>4df87a58-7e64-4fbe-9fc3-ed62a9780c2e</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>b71d6058-cb9d-407a-866b-b85a227177c7</IdentificationTypeModelId>
<LocationId>e8025f2f-4485-42c1-8513-dd0752e89ba8</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>b71d6058-cb9d-407a-866b-b85a227177c7</IdentificationTypeModelId>
<LocationId>e8025f2f-4485-42c1-8513-dd0752e89ba8</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>465977c7-e77d-455c-aeb6-8e2a45a4328f</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>1a789950-1883-4c4c-8295-5e84b7f9001f</StateId>
<Street1>sample string 4</Street1>
<Street2>sample string 5</Street2>
<ZipCode>sample string 7</ZipCode>
</LocationDto>