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>'
OK
Locations listed.
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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.
{ "locations": [ { … } ], "offset": 0, "pageSize": 0, "totalItems": 0 }
location
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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": { "postalCode": "string", "addressLines": [ "str" ], "city": "string", "state": "string", "country": "US" }, "addressSpecificity": "COUNTRY", "contacts": [ { "contactId": "string", "type": "string" } ], "coordinates": { "latitude": -90, "longitude": -180 }, "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
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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": { "postalCode": "string", "addressLines": [ … ], "city": "string", "state": "string", "country": "US" }, "addressSpecificity": "COUNTRY", "contacts": [ { … } ], "coordinates": { "latitude": -90, "longitude": -180 }, "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
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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": { "postalCode": "string", "addressLines": [ … ], "city": "string", "state": "string", "country": "US" }, "addressSpecificity": "COUNTRY", "contacts": [ { … } ], "coordinates": { "latitude": -90, "longitude": -180 }, "geofence": { "geometry": { … }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { … } ], "specialOpeningHours": [ { … } ], "suppliedId": "string", "version": 0 }
location
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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": { "postalCode": "string", "addressLines": [ "str" ], "city": "string", "state": "string", "country": "US" }, "addressSpecificity": "COUNTRY", "contacts": [ { "contactId": "string", "type": "string" } ], "coordinates": { "latitude": -90, "longitude": -180 }, "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 }'
{ "httpStatusCode": 0, "httpMessage": "string", "errorMessage": "string", "errors": [ { … } ], "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>'
OK
Locations listed.
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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.
{ "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
A postal address.
Street name, number, direction, PO box, etc. Only three address lines are currently permitted.
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": { "postalCode": "string", "addressLines": [ … ], "city": "string", "state": "string", "country": "US" }, "addressSpecificity": "COUNTRY", "contacts": [ { … } ], "coordinates": { "latitude": -90, "longitude": -180 }, "geofence": { "geometry": { … }, "type": "TIME", "units": "MINUTES", "value": 0.1 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "openingHours": [ { … } ], "specialOpeningHours": [ { … } ], "suppliedId": "string", "version": 0 }