/copy Permission level: 5

post/copy

Request

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

Request body application/x-www-form-urlencoded

from_startstring date required
from_endstring date required
to_startstring date required
to_endstring date required
schedulestring

Array of employees ids (eg. "234,563,770")

locationstring

Array of locations ids (eg. "234,563,770")

modestring

enum[manage,requested,upcoming]

with_stafinteger

enum[0,1] 0: Copy staff, 1: Do not copy staff

filter_by_sitestring
filter_by_employeestring
filter_by_skillstring
filter_by_shift_typestring

Response

200

statusinteger
datastring
tokenstring

Example response

{
  "status": 1,
  "data": "1 Copied",
  "token": "xxxxxxx"
}

Changes