{"slug":"daten-halowerk-com-v1-sla-due-business-hours-b6f67d","title":"Compute an SLA due time that only counts business hours","host":"daten.halowerk.com","method":"POST","resource":"https://daten.halowerk.com/v1/sla-due-business-hours","category":"other","description":"Compute an SLA due time that only counts business hours: weekly schedule, time zone, public holidays, closed dates and pauses; optional elapsed/remaining status. Starting at the given instant, business time is consumed window by window in the IANA zone (luxon, DST-aware) until the SLA minutes are us","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1201,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"holidays":{"country":"DE","state":"NW"},"sla_minutes":240,"start":"2026-11-13T16:00:00+01:00","timezone":"Europe/Berlin"},"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":{"business_hours":{"additionalProperties":false,"description":"Simple schedule (default Mon-Fri 09:00-17:00).","properties":{"days":{"items":{"maximum":7,"minimum":1,"type":"integer"},"maxItems":7,"minItems":1,"type":"array","uniqueItems":true},"end":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"start":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"}},"type":"object"},"closed_dates":{"description":"Additional closed local dates, e.g. 2026-12-24.","items":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"maxItems":400,"type":"array"},"holidays":{"additionalProperties":false,"description":"Public holidays to respect (date-holidays data, type \"public\" only).","properties":{"country":{"description":"ISO 3166-1 alpha-2 country code, e.g. DE.","pattern":"^[A-Za-z]{2}$","type":"string"},"region":{"description":"Optional region code below the state, e.g. A (Augsburg).","maxLength":10,"type":"string"},"state":{"description":"Optional state/subdivision code, e.g. NW or BY.","maxLength":6,"type":"string"}},"required":["country"],"type":"object"},"now":{"description":"Optional instant for elapsed/remaining status.","format":"date-time","type":"string"},"pauses":{"description":"Intervals in which the SLA clock stops.","items":{"additionalProperties":false,"properties":{"from":{"format":"date-time","type":"string"},"to":{"format":"date-time","type":"string"}},"required":["from","to"],"type":"object"},"maxItems":200,"type":"array"},"schedule":{"additionalProperties":false,"description":"Detailed schedule; overrides business_hours. Keys mon..sun with [start, end] windows.","properties":{"fri":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"},"mon":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"},"sat":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"},"sun":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"},"thu":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"},"tue":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"},"wed":{"items":{"items":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":6,"type":"array"}},"type":"object"},"sla_minutes":{"description":"SLA length in business minutes (e.g. 240 = 4 business hours).","maximum":200000,"minimum":1,"type":"integer"},"start":{"description":"Instant when the clock starts (ISO 8601 with offset or Z).","format":"date-time","type":"string"},"timezone":{"description":"IANA zone of the business hours.","maxLength":64,"type":"string"}},"required":["start","timezone","sla_minutes"],"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.002,"price_match":true,"latency_ms":1314,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1200,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1205,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1204,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1182,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1201,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1187,"error":null}],"description_full":"Compute an SLA due time that only counts business hours: weekly schedule, time zone, public holidays, closed dates and pauses; optional elapsed/remaining status. Starting at the given instant, business time is consumed window by window in the IANA zone (luxon, DST-aware) until the SLA minutes are used up.","last_updated":"2026-11-20T18:07:34.133Z","schemes":["exact"]}