Version 4.0.0 of project44's API
Version 4.0.0 of project44's API
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ftl/api/api/v4/stoplocations?offset=0&pageSize=10' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "locations": [ { … } ], "offset": 0, "pageSize": 0, "totalItems": 0 }
location
The specificity of this address. Return only. This represents how sepcifically we were able to geocode the address, i.e., the most specific known entity we were able to match with it.
A list of contact information for people associated with this location.
Optional list of opening and closing hours of the stop location.
Optional list of special (i.e., holiday) opening and closing hours of the stop location.
curl -i -X POST \ https://developers.project44.com/_mock/guides/shippers/visibility/ftl/api/api/v4/stoplocations \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "addressSpecificity": "COUNTRY", "contacts": [ { "contactId": "string", "type": "string" } ], "coordinates": { "latitude": 0.1, "longitude": 0.1 }, "geofence": { "geometry": { "bbox": [ 0.1 ], "crs": { "properties": {}, "type": "name" }, "type": "string" }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { "appliesFriday": true, "appliesMonday": true, "appliesSaturday": true, "appliesSunday": true, "appliesThursday": true, "appliesTuesday": true, "appliesWednesday": true, "closes": "string", "opens": "string" } ], "specialOpeningHours": [ { "hours": { "appliesFriday": true, "appliesMonday": true, "appliesSaturday": true, "appliesSunday": true, "appliesThursday": true, "appliesTuesday": true, "appliesWednesday": true, "closes": "string", "opens": "string" }, "validFrom": "2019-08-24", "validThrough": "2019-08-24" } ], "suppliedId": "string", "version": 0 }'
OK
The specificity of this address. Return only. This represents how sepcifically we were able to geocode the address, i.e., the most specific known entity we were able to match with it.
A list of contact information for people associated with this location.
Optional list of opening and closing hours of the stop location.
Optional list of special (i.e., holiday) opening and closing hours of the stop location.
{ "address": { "addressLines": [ … ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "addressSpecificity": "COUNTRY", "contacts": [ { … } ], "coordinates": { "latitude": 0.1, "longitude": 0.1 }, "geofence": { "geometry": { … }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { … } ], "specialOpeningHours": [ { … } ], "suppliedId": "string", "version": 0 }
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ftl/api/api/v4/stoplocations/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
The specificity of this address. Return only. This represents how sepcifically we were able to geocode the address, i.e., the most specific known entity we were able to match with it.
A list of contact information for people associated with this location.
Optional list of opening and closing hours of the stop location.
Optional list of special (i.e., holiday) opening and closing hours of the stop location.
{ "address": { "addressLines": [ … ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "addressSpecificity": "COUNTRY", "contacts": [ { … } ], "coordinates": { "latitude": 0.1, "longitude": 0.1 }, "geofence": { "geometry": { … }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { … } ], "specialOpeningHours": [ { … } ], "suppliedId": "string", "version": 0 }
location
The specificity of this address. Return only. This represents how sepcifically we were able to geocode the address, i.e., the most specific known entity we were able to match with it.
A list of contact information for people associated with this location.
Optional list of opening and closing hours of the stop location.
Optional list of special (i.e., holiday) opening and closing hours of the stop location.
curl -i -X PUT \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ftl/api/api/v4/stoplocations/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "address": { "addressLines": [ "string" ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "addressSpecificity": "COUNTRY", "contacts": [ { "contactId": "string", "type": "string" } ], "coordinates": { "latitude": 0.1, "longitude": 0.1 }, "geofence": { "geometry": { "bbox": [ 0.1 ], "crs": { "properties": {}, "type": "name" }, "type": "string" }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { "appliesFriday": true, "appliesMonday": true, "appliesSaturday": true, "appliesSunday": true, "appliesThursday": true, "appliesTuesday": true, "appliesWednesday": true, "closes": "string", "opens": "string" } ], "specialOpeningHours": [ { "hours": { "appliesFriday": true, "appliesMonday": true, "appliesSaturday": true, "appliesSunday": true, "appliesThursday": true, "appliesTuesday": true, "appliesWednesday": true, "closes": "string", "opens": "string" }, "validFrom": "2019-08-24", "validThrough": "2019-08-24" } ], "suppliedId": "string", "version": 0 }'
{ "errorMessage": "string", "errors": [ { … } ], "httpMessage": "string", "httpStatusCode": 0, "supportReferenceId": "string" }
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ftl/api/api/v4/stoplocations/{id}/versions' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "locations": [ { … } ], "offset": 0, "pageSize": 0, "totalItems": 0 }
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ftl/api/api/v4/stoplocations/{id}/versions/{version}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
The specificity of this address. Return only. This represents how sepcifically we were able to geocode the address, i.e., the most specific known entity we were able to match with it.
A list of contact information for people associated with this location.
Optional list of opening and closing hours of the stop location.
Optional list of special (i.e., holiday) opening and closing hours of the stop location.
{ "address": { "addressLines": [ … ], "city": "string", "country": "US", "postalCode": "string", "state": "string" }, "addressSpecificity": "COUNTRY", "contacts": [ { … } ], "coordinates": { "latitude": 0.1, "longitude": 0.1 }, "geofence": { "geometry": { … }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { … } ], "specialOpeningHours": [ { … } ], "suppliedId": "string", "version": 0 }