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": "26662cbd-635f-49bf-86eb-4fbd3335e003",
"NetworkId": "921a12b4-79e4-4438-91f1-20c98d62243f",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "a9efa1a4-f4d9-41fd-9168-886f9407d20b",
"StateDescription": "sample string 9",
"CountryId": "3c92e30a-1b0b-4d53-aac8-308ecc7debd9",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "59fec535-cc47-42f7-91e5-baebc3b752a8",
"IdentificationTypeModelId": "8c4e19df-95ee-495e-9f11-d24ab43ed360",
"IdentificationType": 64
},
{
"LocationId": "59fec535-cc47-42f7-91e5-baebc3b752a8",
"IdentificationTypeModelId": "8c4e19df-95ee-495e-9f11-d24ab43ed360",
"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>3c92e30a-1b0b-4d53-aac8-308ecc7debd9</CountryId>
<Id>26662cbd-635f-49bf-86eb-4fbd3335e003</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>8c4e19df-95ee-495e-9f11-d24ab43ed360</IdentificationTypeModelId>
<LocationId>59fec535-cc47-42f7-91e5-baebc3b752a8</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>8c4e19df-95ee-495e-9f11-d24ab43ed360</IdentificationTypeModelId>
<LocationId>59fec535-cc47-42f7-91e5-baebc3b752a8</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>921a12b4-79e4-4438-91f1-20c98d62243f</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>a9efa1a4-f4d9-41fd-9168-886f9407d20b</StateId>
<Street1>sample string 4</Street1>
<Street2>sample string 5</Street2>
<ZipCode>sample string 7</ZipCode>
</LocationDto>