Creates a custom waypoint by grouping provided jobs together
JobInternalIds (object) or JobExternalIds (object) IDs of the jobs to be added under the custom waypoint | |
Address (object) or NullValue (null) Specifies address to be used for the custom waypoint. If not provided one of the job addresses is used. |
Successfully created a custom waypoint
Error response returned when the request is invalid. In most cases this implies that some data in the request is either missing or has incorrect format.
Error response returned when the provided API key is missing or invalid
Error response returned in cases the requested endpoint or data can't be found
Error response returned whenever the server fails to process the request
{- "jobIds": {
- "internalIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "address": {
- "street": "string",
- "streetNumber": "string",
- "locality": "string",
- "postalCode": "string",
- "country": "string",
- "streetCoordinates": {
- "lat": 0,
- "lon": 0
}, - "rooftopCoordinates": {
- "lat": 0,
- "lon": 0
}
}
}
{- "waypointId": "6eeaf5f6-415c-49ff-97fc-2d3cc3a134f5"
}
Deletes a custom waypoint, allowing the backend to regroup the jobs from this waypoint freely.
Successfully deleted the custom waypoint
Error response returned when the request is invalid. In most cases this implies that some data in the request is either missing or has incorrect format.
Error response returned when the provided API key is missing or invalid
Error response returned in cases the requested endpoint or data can't be found
Error response returned whenever the server fails to process the request
{- "data": { }
}