Installer.com Docs
API ReferenceWorkflows
GET
/api/routers/{routerId}/dispatch-options

Path Parameters

routerId*string
Formatuuid

Query Parameters

page?|
Default0
Range0 <= value
pageSize?number
Default25
Range1 <= value <= 500
q?string
phrase?string
direction?string
Default"desc"
Value in"asc" | "desc"
orderId?string
Formatuuid
professions?array<>|
services?array<>|
tagIds?array<>|
excludePaused?|
orderCoordinates?array<>
actorId?|
Formatuuid
stepId?string
Formatuuid

Response Body

application/json

curl -X GET "http://localhost:8000/api/routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/dispatch-options"
{
  "values": [
    {
      "id": "string",
      "name": "string",
      "status": "PENDING",
      "distance": 0,
      "isWithinAreaOfOperation": true,
      "autoAccept": true,
      "routingAvailabilityId": "f88ffc45-6c9a-4bef-bd3f-5d28bfc867fe",
      "metrics": {
        "averageCSAT": -140737488355328,
        "acceptedOrdersPast30Days": -2147483648,
        "rejectedOrdersPast30Days": -2147483648,
        "ordersSentPast30Days": -2147483648,
        "completedOrdersPast30Days": -2147483648,
        "pendingAcceptanceOrders": -2147483648,
        "totalRejectedOrders": -2147483648,
        "totalAcceptedOrders": -2147483648,
        "totalOrdersSent": -2147483648,
        "totalCompletedOrders": -2147483648,
        "totalResolvedOrders": -2147483648
      },
      "representatives": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "status": "sent",
          "assignedAt": "2019-08-24",
          "revokedAt": "2019-08-24"
        }
      ]
    }
  ],
  "count": 0
}