Location Service
Location

Get location by location id

1min
GET

API for getting location details by location id:

Header/PathDescriptionType
X-COREOS-REQUEST-ID* (header)Unique RequestIdstring
locationId* (path)Unique LocationId.string
*This is required.
HTTP Status Code Summary
CodeDescription
200 - OKEverything worked as expected.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API key provided.
403 - ForbiddenUser is not allowed to perform operation.
404 - Not FoundThe requested resource doesn't exist.
503 - Service unavailableSome unexpected error occurred.
Path Parameters
locationId
*
Header Parameters
X-COREOS-REQUEST-ID
*
X-COREOS-TID
*
X-COREOS-USERINFO
X-COREOS-ACCESS
*
Responses
200
OK
data
request
400
Error Occurred
All Of
ErrorResponse +
error
*
request
*
401
Error Occurred
All Of
ErrorResponse +
error
*
request
*
403
Error Occurred
All Of
ErrorResponse +
error
*
request
*
404
Error Occurred
All Of
ErrorResponse +
error
*
request
*
503
Error Occurred
All Of
ErrorResponse +
error
*
request
*
Curl
JS
Ruby
Python
Responses
200
400
401
403
404
503