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"
HTTP status code
If both LocationId and ThirdPartyId are missing
If both LocationId and ThirdPartyId are present
If the location cannot be found
An unexpected exception
Internal server error