Webhook for planning a list of stops on a trip and assigning resources.
The documented schema is our default input format, but we can also map custom formats, keeping in mind the limitations that are documented under use cases.
Note that this webhook uses Basic Auth instead of the OAuth credentials used for the api. Please contact integrations@qargo.com to request credentials.
Security
BasicAuthWebhookCredentials
Any of:
Any of:
Status of the trip import
string(TripImportStatus)
Value:"CANCELLED"
Any of:
Start timestamp of the trip in UTC
string (date-time)
Any of:
List of primary resources assigned to the trip
Any of:
List of stops that couldn't be assigned to any resource
POST
- TripImportInput
- string (binary)
{ "trip_identifier": "string", "status": "CANCELLED", "planned_stops": [ { … } ], "start_timestamp": "2019-08-24T14:15:22Z", "primary_resources": [ { … } ], "unassigned_stops": [ { … } ], "failure": { "error_type": "USER_INPUT_ERROR", "error_message": "string" } }
Response
- TripImportResponse
- null
{ "errors": { "error_message": "The payload is invalid.", "error_type": "USER_INPUT_ERROR" } }