GET api/locations/{locationID}
Gets the locations.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationID |
The location identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
locationViewModelName | Description | Type | Additional information |
---|---|---|---|
locationID |
Gets or sets the location identifier. |
integer |
None. |
locationName |
Gets or sets the name of the location. |
string |
None. |
address_1 |
Gets or sets the address 1. |
string |
None. |
address_2 |
Gets or sets the address 2. |
string |
None. |
city |
Gets or sets the city. |
string |
None. |
state |
Gets or sets the state. |
string |
None. |
stateCode |
Gets or sets the state code. |
string |
None. |
zipCode |
Gets or sets the zip code. |
string |
None. |
isRegional |
Gets or sets the is regional. |
string |
None. |
regionID |
Gets or sets the region identifier. |
integer |
None. |
regionName |
Gets or sets the name of the region. |
string |
None. |
regional_locationName |
Gets or sets the name of the regional location. |
string |
None. |
regional_address_1 |
Gets or sets the regional address 1. |
string |
None. |
regional_address_2 |
Gets or sets the regional address 2. |
string |
None. |
regional_city |
Gets or sets the regional city. |
string |
None. |
regional_state |
Gets or sets the state of the regional. |
string |
None. |
regional_stateCode |
Gets or sets the regional state code. |
string |
None. |
phone |
Gets or sets the phone. |
string |
None. |
fax |
Gets or sets the fax. |
string |
None. |
Gets or sets the email. |
string |
None. |
|
countryCode |
Gets or sets the country code. |
string |
None. |
country |
Gets or sets the country. |
string |
None. |
regional_countryCode |
Gets or sets the regional country code. |
string |
None. |
regional_country |
Gets or sets the regional country. |
string |
None. |
regional_zipCode |
Gets or sets the regional zip code. |
string |
None. |
lat |
Gets or sets the lat. |
decimal number |
None. |
lng |
Gets or sets the LNG. |
decimal number |
None. |
Team |
Gets or sets the team. |
Collection of PeopleDetailsViewModel |
None. |
Response Formats
application/json, text/json
{ "locationID": 1, "locationName": "sample string 2", "address_1": "sample string 3", "address_2": "sample string 4", "city": "sample string 5", "state": "sample string 6", "stateCode": "sample string 7", "zipCode": "sample string 8", "isRegional": "sample string 9", "regionID": 1, "regionName": "sample string 10", "regional_locationName": "sample string 11", "regional_address_1": "sample string 12", "regional_address_2": "sample string 13", "regional_city": "sample string 14", "regional_state": "sample string 15", "regional_stateCode": "sample string 16", "phone": "sample string 17", "fax": "sample string 18", "email": "sample string 19", "countryCode": "sample string 20", "country": "sample string 21", "regional_countryCode": "sample string 22", "regional_country": "sample string 23", "regional_zipCode": "sample string 24", "lat": 1.1, "lng": 1.1, "Team": [ { "teammemberID": 1, "teamTypeID": 1, "fullName": "sample string 2", "lastName": "sample string 3", "firstName": "sample string 4", "title": "sample string 5", "narrative": "sample string 6", "phone": "sample string 7", "email": "sample string 8", "gslID": 1, "gslName": "sample string 9", "picture": "sample string 10", "linkedin": "sample string 11", "twitter": "sample string 12", "teammemberIndex": 1, "visible": true, "Locations": [ { "locationID": 1, "isRegional": "sample string 2", "regionalID": 1, "locationName": "sample string 3", "location_address_1": "sample string 4", "location_address_2": "sample string 5", "city": "sample string 6", "stateCode": "sample string 7", "state": "sample string 8", "zipCode": "sample string 9", "countryCode": "sample string 10", "country": "sample string 11", "lat": 1.1, "lng": 1.1, "distance": 12.1 }, { "locationID": 1, "isRegional": "sample string 2", "regionalID": 1, "locationName": "sample string 3", "location_address_1": "sample string 4", "location_address_2": "sample string 5", "city": "sample string 6", "stateCode": "sample string 7", "state": "sample string 8", "zipCode": "sample string 9", "countryCode": "sample string 10", "country": "sample string 11", "lat": 1.1, "lng": 1.1, "distance": 12.1 } ] }, { "teammemberID": 1, "teamTypeID": 1, "fullName": "sample string 2", "lastName": "sample string 3", "firstName": "sample string 4", "title": "sample string 5", "narrative": "sample string 6", "phone": "sample string 7", "email": "sample string 8", "gslID": 1, "gslName": "sample string 9", "picture": "sample string 10", "linkedin": "sample string 11", "twitter": "sample string 12", "teammemberIndex": 1, "visible": true, "Locations": [ { "locationID": 1, "isRegional": "sample string 2", "regionalID": 1, "locationName": "sample string 3", "location_address_1": "sample string 4", "location_address_2": "sample string 5", "city": "sample string 6", "stateCode": "sample string 7", "state": "sample string 8", "zipCode": "sample string 9", "countryCode": "sample string 10", "country": "sample string 11", "lat": 1.1, "lng": 1.1, "distance": 12.1 }, { "locationID": 1, "isRegional": "sample string 2", "regionalID": 1, "locationName": "sample string 3", "location_address_1": "sample string 4", "location_address_2": "sample string 5", "city": "sample string 6", "stateCode": "sample string 7", "state": "sample string 8", "zipCode": "sample string 9", "countryCode": "sample string 10", "country": "sample string 11", "lat": 1.1, "lng": 1.1, "distance": 12.1 } ] } ] }
text/html
{"locationID":1,"locationName":"sample string 2","address_1":"sample string 3","address_2":"sample string 4","city":"sample string 5","state":"sample string 6","stateCode":"sample string 7","zipCode":"sample string 8","isRegional":"sample string 9","regionID":1,"regionName":"sample string 10","regional_locationName":"sample string 11","regional_address_1":"sample string 12","regional_address_2":"sample string 13","regional_city":"sample string 14","regional_state":"sample string 15","regional_stateCode":"sample string 16","phone":"sample string 17","fax":"sample string 18","email":"sample string 19","countryCode":"sample string 20","country":"sample string 21","regional_countryCode":"sample string 22","regional_country":"sample string 23","regional_zipCode":"sample string 24","lat":1.1,"lng":1.1,"Team":[{"teammemberID":1,"teamTypeID":1,"fullName":"sample string 2","lastName":"sample string 3","firstName":"sample string 4","title":"sample string 5","narrative":"sample string 6","phone":"sample string 7","email":"sample string 8","gslID":1,"gslName":"sample string 9","picture":"sample string 10","linkedin":"sample string 11","twitter":"sample string 12","teammemberIndex":1,"visible":true,"Locations":[{"locationID":1,"isRegional":"sample string 2","regionalID":1,"locationName":"sample string 3","location_address_1":"sample string 4","location_address_2":"sample string 5","city":"sample string 6","stateCode":"sample string 7","state":"sample string 8","zipCode":"sample string 9","countryCode":"sample string 10","country":"sample string 11","lat":1.1,"lng":1.1,"distance":12.1},{"locationID":1,"isRegional":"sample string 2","regionalID":1,"locationName":"sample string 3","location_address_1":"sample string 4","location_address_2":"sample string 5","city":"sample string 6","stateCode":"sample string 7","state":"sample string 8","zipCode":"sample string 9","countryCode":"sample string 10","country":"sample string 11","lat":1.1,"lng":1.1,"distance":12.1}]},{"teammemberID":1,"teamTypeID":1,"fullName":"sample string 2","lastName":"sample string 3","firstName":"sample string 4","title":"sample string 5","narrative":"sample string 6","phone":"sample string 7","email":"sample string 8","gslID":1,"gslName":"sample string 9","picture":"sample string 10","linkedin":"sample string 11","twitter":"sample string 12","teammemberIndex":1,"visible":true,"Locations":[{"locationID":1,"isRegional":"sample string 2","regionalID":1,"locationName":"sample string 3","location_address_1":"sample string 4","location_address_2":"sample string 5","city":"sample string 6","stateCode":"sample string 7","state":"sample string 8","zipCode":"sample string 9","countryCode":"sample string 10","country":"sample string 11","lat":1.1,"lng":1.1,"distance":12.1},{"locationID":1,"isRegional":"sample string 2","regionalID":1,"locationName":"sample string 3","location_address_1":"sample string 4","location_address_2":"sample string 5","city":"sample string 6","stateCode":"sample string 7","state":"sample string 8","zipCode":"sample string 9","countryCode":"sample string 10","country":"sample string 11","lat":1.1,"lng":1.1,"distance":12.1}]}]}