Sign in

Create allocation window

documented

Create a new allocation window.

POST /api_1.0/allocationwindow.jsonAllocation Windowsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.servicem8.com/api_1.0/allocationwindow.json" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "start_time": "{{$start_time}}", "end_time": "{{$end_time}}", "days_of_week": {{$days_of_week}}, "priority": {{$priority}}, "active": {{$active}}}'
Create allocation window · ServiceM8 · OpenIntegrations