Gets stored locations
Gets stored locations
access_token OAuth 2.0 Access Token
In: query
Location search
Page number to retrieve
1Number of results per page
25Page number (1-indexed)
11 <= valueNumber of results per page
251 <= valuecurl -X GET "https://api-sandbox.fndev.net/api/rest/v2/locations"{
"actions": [],
"metadata": {
"total": 208,
"page": 1,
"pages": 42,
"per_page": 5,
"columns": "location_id:100,name:280,client_id:175,notes:260,location:190,type:175,status:100,work_orders:130,providers:130",
"view": "list",
"sort": "group_id",
"order": "asc",
"default_columns": "location_id:100,name:280,client_id:175,notes:260,location:190,type:175,status:100,work_orders:130,providers:130",
"available_columns": [
{
"group": "Locations",
"items": [
{
"id": "display_name",
"label": "Display Name",
"group": "Locations",
"order": 100,
"icon": "",
"selected": false,
"can_sort": false,
"sort_dir": ""
}
]
}
],
"available_filters": [
{
"id": "location_id",
"label": "Location Id",
"name": "Location Id",
"type": "",
"section": 0
}
]
},
"params": [],
"results": [
{
"id": 359102,
"location_id": 12345,
"client_id": 12345,
"client_name": "",
"name": "",
"group_id": 12345,
"group_name": "",
"type": "Commercial",
"type_id": 12345,
"notes": [
{
"id": 0,
"text": "Sample value",
"private": 0
}
],
"address1": "",
"address2": "",
"city": "",
"state": "",
"zip": "42",
"country": "",
"workorders": 42,
"providers": 12345,
"status": 42
}
],
"correlation_id": "locations"
}{
"status": 400,
"message": "Validation failed: field 'title' is required"
}{
"status": 500,
"message": "Operation successful."
}{
"status": 403,
"message": "You do not have permission to access this work order"
}{
"status": 500,
"message": "An unexpected error occurred. Please try again later or contact support."
}application/json
application/json
application/json
application/json
application/json
Last updated on