GET v1/Locations/{locationID}

Get full details on a location

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

string

Required

Body Parameters

None.

Response Information

Resource Description

LocationDTO
NameDescriptionTypeAdditional information
LocationID

integer

None.

LocationName

string

None.

IsDefault

boolean

None.

QQID

string

None.

Alias

string

None.

StreetAddressLine1

string

None.

StreetAddressLine2

string

None.

City

string

None.

State

string

None.

Zip

string

None.

PhoneNumber

string

None.

Fax

string

None.

DefaultEmailAccountId

integer

None.

EmailAddress

string

None.

DefaultEmployeeId

integer

None.

ContactFirstName

string

None.

ContactLastName

string

None.

MainClientId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "LocationID": 1,
  "LocationName": "sample string 2",
  "IsDefault": true,
  "QQID": "sample string 4",
  "Alias": "sample string 5",
  "StreetAddressLine1": "sample string 6",
  "StreetAddressLine2": "sample string 7",
  "City": "sample string 8",
  "State": "sample string 9",
  "Zip": "sample string 10",
  "PhoneNumber": "sample string 11",
  "Fax": "sample string 12",
  "DefaultEmailAccountId": 1,
  "EmailAddress": "sample string 13",
  "DefaultEmployeeId": 1,
  "ContactFirstName": "sample string 14",
  "ContactLastName": "sample string 15",
  "MainClientId": 16
}

application/xml, text/xml

Sample:
<LocationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
  <Alias>sample string 5</Alias>
  <City>sample string 8</City>
  <ContactFirstName>sample string 14</ContactFirstName>
  <ContactLastName>sample string 15</ContactLastName>
  <DefaultEmailAccountId>1</DefaultEmailAccountId>
  <DefaultEmployeeId>1</DefaultEmployeeId>
  <EmailAddress>sample string 13</EmailAddress>
  <Fax>sample string 12</Fax>
  <IsDefault>true</IsDefault>
  <LocationID>1</LocationID>
  <LocationName>sample string 2</LocationName>
  <MainClientId>16</MainClientId>
  <PhoneNumber>sample string 11</PhoneNumber>
  <QQID>sample string 4</QQID>
  <State>sample string 9</State>
  <StreetAddressLine1>sample string 6</StreetAddressLine1>
  <StreetAddressLine2>sample string 7</StreetAddressLine2>
  <Zip>sample string 10</Zip>
</LocationDTO>