staff.positions

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
employee_id (required)varcharUnique employee id

DOCUMENTATION

In Humanity, individual work schedules are labeled by ‘Positions’ that are grouped by ‘Locations'. For more about Positions and Locations please visit our Help Center.

The staff.positions module lists out all of the positions that are assigned to a specific employee and his/hers payroll information. Level 5 is required in order to fetch this data meaning that even employees within your store will be able to use this module.

--

Example Request:

{
   "method":"GET",
   "module":"staff.positions",
   "request":{
      "employee_id":"2982006"
   }
}

Example Response:

{
   "status":1,
   "data":[
      {
         "id":37946718,
         "employee_id":2982006,
         "position_id":1411080,
         "created_by":2829173,
         "date":1478614186,
         "payroll_ratecard_id":null,
         "payroll_wage":null
      },
      {
         "id":38023410,
         "employee_id":2982006,
         "position_id":1419216,
         "created_by":2829173,
         "date":1479207991,
         "payroll_ratecard_id":null,
         "payroll_wage":null
      },
      {
         "id":38023419,
         "employee_id":2982006,
         "position_id":1419217,
         "created_by":2829173,
         "date":1479208086,
         "payroll_ratecard_id":null,
         "payroll_wage":null
      }
   ],
   "token":"xxxx"
  }
}