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": "99b177ef-d7d2-4807-911f-293cf7ee857a",
"NetworkId": "268d5a24-59f6-4d07-a631-ecb982de3092",
"Code": "sample string 3",
"Street1": "sample string 4",
"Street2": "sample string 5",
"City": "sample string 6",
"ZipCode": "sample string 7",
"StateId": "6805a625-084a-4032-9315-8baf7a22d8e0",
"StateDescription": "sample string 9",
"CountryId": "8f12f579-08fa-49a0-a6d7-3da4c6e2c728",
"ContactName": "sample string 11",
"ContactPhoneNumber": "sample string 12",
"CountryDescription": "sample string 13",
"LocationsIdentificationsTypesModels": [
{
"LocationId": "c3d24a31-4564-41af-8032-d1af5bf0a9f4",
"IdentificationTypeModelId": "fc4b12be-1c30-41d0-a08f-7f5af91c99c7",
"IdentificationType": 64
},
{
"LocationId": "c3d24a31-4564-41af-8032-d1af5bf0a9f4",
"IdentificationTypeModelId": "fc4b12be-1c30-41d0-a08f-7f5af91c99c7",
"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>8f12f579-08fa-49a0-a6d7-3da4c6e2c728</CountryId>
<Id>99b177ef-d7d2-4807-911f-293cf7ee857a</Id>
<LocationsIdentificationsTypesModels>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>fc4b12be-1c30-41d0-a08f-7f5af91c99c7</IdentificationTypeModelId>
<LocationId>c3d24a31-4564-41af-8032-d1af5bf0a9f4</LocationId>
</LocationIdentificationTypeModelDto>
<LocationIdentificationTypeModelDto>
<IdentificationType>64</IdentificationType>
<IdentificationTypeModelId>fc4b12be-1c30-41d0-a08f-7f5af91c99c7</IdentificationTypeModelId>
<LocationId>c3d24a31-4564-41af-8032-d1af5bf0a9f4</LocationId>
</LocationIdentificationTypeModelDto>
</LocationsIdentificationsTypesModels>
<NetworkId>268d5a24-59f6-4d07-a631-ecb982de3092</NetworkId>
<StateDescription>sample string 9</StateDescription>
<StateId>6805a625-084a-4032-9315-8baf7a22d8e0</StateId>
<Street1>sample string 4</Street1>
<Street2>sample string 5</Street2>
<ZipCode>sample string 7</ZipCode>
</LocationDto>