HydraCore
API by router

Roster

Internal Start Cascade

POST
/internal/v1/instances/{instance_id}/roster/cascade

Path Parameters

instance_idInstance Id
Formatuuid
shift_idShift Id
Formatuuid
tier?Tier
Default1
Range1 <= value <= 5

Response Body

curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/roster/cascade" \  -H "Content-Type: application/json" \  -d '{    "shift_id": "f15914ca-a3fc-41f9-a948-5ac849d2a017"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Internal Roster Respond

POST
/internal/v1/instances/{instance_id}/roster/respond

Path Parameters

instance_idInstance Id
Formatuuid
channel?Channel
Default"whatsapp"
Lengthlength <= 30
person_idPerson Id
Formatuuid
response_textResponse Text
Length1 <= length <= 100

Response Body

curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/roster/respond" \  -H "Content-Type: application/json" \  -d '{    "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550",    "response_text": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Internal Shift Fill Status

GET
/internal/v1/instances/{instance_id}/roster/shift-status/{shift_id}

Path Parameters

instance_idInstance Id
Formatuuid
shift_idShift Id
Formatuuid

Response Body

curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/roster/shift-status/497f6eca-6276-4993-bfeb-53cbbbba6f08"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}