v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Assisted Scheduling

get/assisted_scheduling

Query parameters

from_datestring
to_datestring
job_uidstring
job_categorystring
job_durationinteger
service_territorystring
zipcodestring
timezonestring
skillset_uidstring
team_uidstring
user_uidstring
customer_uidstring
favorite_userboolean
user_typestring
consider_holidaysboolean
consider_only_user_shiftsboolean

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "availability": [
      {
        "date": "2023-11-01",
        "slots": [
          {
            "start_time": "2023-11-01 06:46:20",
            "end_time": "2023-11-01 14:46:20",
            "users_available": 2,
            "users": [
              "6a18e31e-9432-4f0e-a54c-51a92e8536a4"
            ]
          }
        ]
      }
    ],
    "users": [
      {
        "user_uid": "6a18e31e-9432-4f0e-a54c-51a92e8536a4",
        "emp_code": "1234",
        "first_name": "Raghav",
        "last_name": "G",
        "email": "raghav@zuper.co",
        "designation": "CTO",
        "home_phone_number": "7397722822",
        "work_phone_number": "7397722822",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/3d87e6d0-e8d8-11ed-adf9-a5fc91f5c57c.jpeg",
        "hourly_labor_charge": 500,
        "is_active": true,
        "created_at": "2018-01-22T13:59:11.000Z",
        "updated_at": "2023-05-02T10:58:16.000Z",
        "role": {
          "role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
          "role_name": "Admin",
          "role_key": "ADMIN"
        }
      }
    ]
  }
}