{"slug":"ort-halowerk-com-v1-time-window-conflicts-c6032d","title":"Find time-window conflicts in a delivery tour","host":"ort.halowerk.com","method":"POST","resource":"https://ort.halowerk.com/v1/time-window-conflicts","category":"other","description":"Find time-window conflicts in a delivery tour: simulated arrival, waiting and lateness per stop, invalid windows, shift-end overrun, plus stop pairs that cannot both be served and forced visiting orders.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1200,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"matrix_minutes":[[0,20,40],[20,0,30],[40,30,0]],"start":{"time":"2026-10-05T08:00:00Z"},"stops":[{"id":"A","service_minutes":15,"window_end":"2026-10-05T09:00:00Z","window_start":"2026-10-05T08:30:00Z"},{"id":"B","service_minutes":10,"window_end":"2026-10-05T09:30:00Z","window_start":"2026-10-05T09:00:00Z"}]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"average_speed_kmh":{"description":"Average speed for coordinate-based travel times (your assumption).","maximum":200,"minimum":1,"type":"number"},"detour_factor":{"default":1,"description":"Road-distance factor on the great-circle distance (your assumption).","maximum":3,"minimum":1,"type":"number"},"matrix_minutes":{"description":"Travel times in minutes; index 0 = start, then stops in the given order.","items":{"items":{"maximum":10000,"minimum":0,"type":"number"},"maxItems":301,"type":"array"},"maxItems":301,"type":"array"},"return_to_start":{"default":false,"description":"Include the return trip to the start in the shift-end check.","type":"boolean"},"shift_end":{"description":"Latest end of the tour.","maxLength":40,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$","type":"string"},"start":{"additionalProperties":false,"description":"Departure from the depot.","properties":{"lat":{"description":"Depot latitude.","maximum":90,"minimum":-90,"type":"number"},"lon":{"description":"Depot longitude.","maximum":180,"minimum":-180,"type":"number"},"time":{"description":"Departure time.","maxLength":40,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$","type":"string"}},"required":["time"],"type":"object"},"stops":{"description":"Stops in planned order.","items":{"additionalProperties":false,"properties":{"id":{"description":"Order or stop reference.","maxLength":64,"minLength":1,"type":"string"},"lat":{"description":"Latitude.","maximum":90,"minimum":-90,"type":"number"},"lon":{"description":"Longitude.","maximum":180,"minimum":-180,"type":"number"},"service_minutes":{"default":0,"description":"Service time at the stop.","maximum":1440,"minimum":0,"type":"number"},"window_end":{"description":"Latest service start (arrival after it is late).","maxLength":40,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$","type":"string"},"window_start":{"description":"Earliest service start.","maxLength":40,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,3})?)?(?:Z|[+-]\\d{2}:\\d{2})$","type":"string"}},"required":["id"],"type":"object"},"maxItems":300,"minItems":1,"type":"array"}},"required":["start","stops"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1200,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1195,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1219,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1224,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1185,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1309,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1166,"error":null}],"description_full":"Find time-window conflicts in a delivery tour: simulated arrival, waiting and lateness per stop, invalid windows, shift-end overrun, plus stop pairs that cannot both be served and forced visiting orders.","last_updated":"2026-11-21T01:27:24.615Z","schemes":["exact"]}