GET Locations/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

LocationDto
NameDescriptionTypeAdditional 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": "c2ce0552-8afb-4ed0-8ebe-e761fc665e1c",
  "NetworkId": "aa063ca2-b2b9-4513-9c40-39f0d49e5e1d",
  "Code": "sample string 3",
  "Street1": "sample string 4",
  "Street2": "sample string 5",
  "City": "sample string 6",
  "ZipCode": "sample string 7",
  "StateId": "f99f184e-d641-4780-97da-bb2696090e3c",
  "StateDescription": "sample string 9",
  "CountryId": "e4978eec-c87a-47a7-af30-c4e1d67d0b59",
  "ContactName": "sample string 11",
  "ContactPhoneNumber": "sample string 12",
  "CountryDescription": "sample string 13",
  "LocationsIdentificationsTypesModels": [
    {
      "LocationId": "e9c94046-e4a7-4d90-aef2-58f64714d9a6",
      "IdentificationTypeModelId": "26a63bcf-a749-40dd-94e3-0f5143e79922",
      "IdentificationType": 64
    },
    {
      "LocationId": "e9c94046-e4a7-4d90-aef2-58f64714d9a6",
      "IdentificationTypeModelId": "26a63bcf-a749-40dd-94e3-0f5143e79922",
      "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>e4978eec-c87a-47a7-af30-c4e1d67d0b59</CountryId>
  <Id>c2ce0552-8afb-4ed0-8ebe-e761fc665e1c</Id>
  <LocationsIdentificationsTypesModels>
    <LocationIdentificationTypeModelDto>
      <IdentificationType>64</IdentificationType>
      <IdentificationTypeModelId>26a63bcf-a749-40dd-94e3-0f5143e79922</IdentificationTypeModelId>
      <LocationId>e9c94046-e4a7-4d90-aef2-58f64714d9a6</LocationId>
    </LocationIdentificationTypeModelDto>
    <LocationIdentificationTypeModelDto>
      <IdentificationType>64</IdentificationType>
      <IdentificationTypeModelId>26a63bcf-a749-40dd-94e3-0f5143e79922</IdentificationTypeModelId>
      <LocationId>e9c94046-e4a7-4d90-aef2-58f64714d9a6</LocationId>
    </LocationIdentificationTypeModelDto>
  </LocationsIdentificationsTypesModels>
  <NetworkId>aa063ca2-b2b9-4513-9c40-39f0d49e5e1d</NetworkId>
  <StateDescription>sample string 9</StateDescription>
  <StateId>f99f184e-d641-4780-97da-bb2696090e3c</StateId>
  <Street1>sample string 4</Street1>
  <Street2>sample string 5</Street2>
  <ZipCode>sample string 7</ZipCode>
</LocationDto>