get https://ws.bullseyelocations.com/RestLocation.svc/GetLocation
This method retrieves information for a location, given a Bullseye location ID, or a third-party ID.
Return Value: LocationJson
Notes:
This is identical to the GetLocation method in the RestSearch service. However, in the RestSearch service, subgroups for Business Hours, Attributes, Categories and Daily Hours are formatted to display like in Dosearch. In the RestLocation service, BusinessHours and RestHolidayHours are returned as raw data, and DailyHours are not returned.
In lieu of providing the Client Id and Api Key, a call may be made to AuthenticateClient with those credentials, and the resultant security token added to the Request Header under the key "ClientToken"
Condition | HTTP status code | Description |
---|---|---|
If both LocationId and ThirdPartyId are missing | 400 | Bad Request |
If both LocationId and ThirdPartyId are present | 400 | Bad Request |
If the location cannot be found | 404 | Not Found |
An unexpected exception | 500 | Internal server error |