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": "f792e35f-4d62-4d2e-89d4-f36014dd373a",
"NetworkId": "3001497e-115b-4d0f-b817-f5728c8dcaea",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "8cc19006-e28e-43e9-8bd6-351ec87e478e",
"StateDescription": "sample string 9",
"CountryId": "b8b50b19-291f-4e5a-9751-4a85ae0380d2",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "8187b468-f920-4ea5-9c11-b4e645e92ca8",
"IdentificationTypeModelId": "60b3d992-6cee-401c-a9ab-bb2f6e920941",
"IdentificationType": 64
},
{
"LocationId": "8187b468-f920-4ea5-9c11-b4e645e92ca8",
"IdentificationTypeModelId": "60b3d992-6cee-401c-a9ab-bb2f6e920941",
"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>b8b50b19-291f-4e5a-9751-4a85ae0380d2</CountryId>
<Id>f792e35f-4d62-4d2e-89d4-f36014dd373a</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>60b3d992-6cee-401c-a9ab-bb2f6e920941</IdentificationTypeModelId>
<LocationId>8187b468-f920-4ea5-9c11-b4e645e92ca8</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>60b3d992-6cee-401c-a9ab-bb2f6e920941</IdentificationTypeModelId>
<LocationId>8187b468-f920-4ea5-9c11-b4e645e92ca8</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>3001497e-115b-4d0f-b817-f5728c8dcaea</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>8cc19006-e28e-43e9-8bd6-351ec87e478e</StateId>
<Street1>sample string 4</Street1>
<Street2>sample string 5</Street2>
<ZipCode>sample string 7</ZipCode>
</LocationDto>