/payroll/payruns Permission Level: 2

post/payroll/payruns

Request

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

Request body application/x-www-form-urlencoded

namestring required
fromstring required
tostring required
source_typeinteger

Confirmed timeclocks: 1, Scheduled shifts: 2, Confirmed shifts: 3

statusinteger
applies_tostring[]

Response

200

statusinteger
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": 1,
    "company_id": 202039,
    "name": "test ratecard1",
    "from": "2017-01-23 00:00:00",
    "to": "2017-01-29 00:00:00",
    "source_type": 1,
    "created_by": 2097936,
    "created_at": "2017-01-26 13:49:29"
  }
}

Changes