title = “Get Location by ID” description = “Gets a location by id and work order details.” weight = 5 pre = ““ +++

Gets a location by id. This endpoint also returns work order information associated with the location id.

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/locations/location_id
Production https://api.fieldnation.com/api/rest/v2/locations/location_id

Path Parameters

Parameter Type Example Notes
location_id integer 16267 Saved Location ID.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body Parameters

Not applicable.

Response

Returns the Saved Location Object by ID. Refer to Saved Locations for parameter details and examples.

Errors

Standard HTTP and OAuth error codes.

Examples

410 Gone: Saved location not found.


{
    "message": "Location by id #16326 no longer exists or is not visible to you.",
    "trace": [],
    "extra": []
}
–>