List

GET {{baseUrl}}/account/:accountID/location

List all locations and shared locations

■ Pulls back locations (of all types) belonging to account, plus shipments shared
with account (explicit & receiver sharing)
■ Ability to filter locations would be nice, but not required - this is typically a
smaller dataset
■ Each location node should contain the account ID that it belongs to

Request Params

KeyDatatypeRequiredDescription
idstring(Optional) string
querystring(Optional) count
hide_shareboolean(Optional) boolean
typestringFilter by location type: "shipper", "receiver", "seaport", "airport", "checkpoint"

HEADERS

KeyDatatypeRequiredDescription
authorizationstring(Required)

RESPONSES

status: OK

[{"name":"Receiver 1","id":"L1685041739611","type":"receiver","location":{"lat":-78.63739013671876,"lng":35.782309962716326,"radius":1000},"alerts":{"silence_in_geofence":false,"completion_in_geofence":false,"completion_after_light_detection":false}},{"name":"Shipper 2","id":"L1684939818997","type":"shipper","location":{"lat":-78.66553286075518,"lng":35.77994251888403,"radius":1000},"alerts":{"silence_in_geofence":false,"completion_in_geofence":false,"completion_after_light_detection":false}},{"name":"Shipper Edit","id":"L1684937726825","type":"shipper","location":{"lat":-78.64562724824204,"lng":35.778132073088976,"radius":2000},"alerts":{"silence_in_geofence":false,"completion_in_geofence":false,"completion_after_light_detection":false}},{"name":"Store $1.99","id":"L1683207985784","type":"shipper","location":{"lat":-78.63327026367188,"lng":35.78077809534589,"radius":15000},"alerts":{"silence_in_geofence":false,"completion_in_geofence":false,"completion_after_light_detection":false}},{"name":" ","id":"L1685124586036","type":"receiver","location":{"lat":-78.64030765118511,"lng":35.78036005423038,"radius":9,"receiver_share_account_id":"Organization Fire Department","receiver_share_account_name":"644a7bd1043e7500086e4d80"},"alerts":{"silence_in_geofence":false,"completion_in_geofence":false,"completion_after_light_detection":true}}]