GET v1/Locations/UserLocationsV2
Get the locations that the current user have access to.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of locations
Collection of LocationDTOName | Description | Type | Additional 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. |
|
DefaultStateCode | string |
None. |
|
BusinessFEIN | string |
None. |
|
DateLastModified | date |
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, "DefaultStateCode": "sample string 17", "BusinessFEIN": "sample string 18", "DateLastModified": "2024-12-13T17:39:44.0826087+00:00" }, { "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, "DefaultStateCode": "sample string 17", "BusinessFEIN": "sample string 18", "DateLastModified": "2024-12-13T17:39:44.0826087+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfLocationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations"> <LocationDTO> <Alias>sample string 5</Alias> <BusinessFEIN>sample string 18</BusinessFEIN> <City>sample string 8</City> <ContactFirstName>sample string 14</ContactFirstName> <ContactLastName>sample string 15</ContactLastName> <DateLastModified>2024-12-13T17:39:44.0826087+00:00</DateLastModified> <DefaultEmailAccountId>1</DefaultEmailAccountId> <DefaultEmployeeId>1</DefaultEmployeeId> <DefaultStateCode>sample string 17</DefaultStateCode> <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> <LocationDTO> <Alias>sample string 5</Alias> <BusinessFEIN>sample string 18</BusinessFEIN> <City>sample string 8</City> <ContactFirstName>sample string 14</ContactFirstName> <ContactLastName>sample string 15</ContactLastName> <DateLastModified>2024-12-13T17:39:44.0826087+00:00</DateLastModified> <DefaultEmailAccountId>1</DefaultEmailAccountId> <DefaultEmployeeId>1</DefaultEmployeeId> <DefaultStateCode>sample string 17</DefaultStateCode> <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> </ArrayOfLocationDTO>