/shifts/fill Permission level: 4

get/shifts/fill

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Query parameters

shiftsstring required

Array of shifts ids (eg: "458,547,1001")

fill_countinteger
fill_slotsinteger

min length 1

dissalow_openslotsinteger

min length 1

Response

200

statusinteger
tokenstring

Example response

{
  "status": 1,
  "data": [
    {
      "id": "95645",
      "created": "1339681687",
      "published": "0",
      "edited": "1339681687",
      "deleted": "0",
      "schedule": "32408",
      "type": "0",
      "needed": "0",
      "working": "1",
      "user": "2",
      "start_date": {
        "id": "1133",
        "month": "6",
        "day": "5",
        "year": "2012",
        "weekday": "Tue",
        "mname": "Jun",
        "week": "23",
        "dayid": 3,
        "formatted": "Jun 5, 2012"
      },
      "end_date": {
        "id": "1133",
        "month": "6",
        "day": "5",
        "year": "2012",
        "weekday": "Tue",
        "mname": "Jun",
        "week": "23",
        "dayid": 3,
        "formatted": "Jun 5, 2012"
      },
      "length": 8,
      "location": "0",
      "confirmed": "1",
      "perms": 1,
      "paidtime": 8,
      "start_time": {
        "id": "33",
        "time": "8 am"
      },
      "end_time": {
        "id": "65",
        "time": "4 pm"
      },
      "schedule_name": "Admin/meetings",
      "employees": [
        {
          "id": "5623",
          "name": "El Homo",
          "status": "1",
          "notified_day": "0",
          "notified_hour": "0",
          "last_active": "0",
          "ratecard": "0"
        }
      ],
      "cost": {
        "staff": 1,
        "hours": 8
      },
      "repeats": "0"
    }
  ],
  "token": "xxxxxxx"
}

Changes