Get user Enrollments

Changed on
get/timesheets/enrollments

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/timesheets/enrollments
  • Auth
    API key in header x-api-key

Query parameters

pageinteger required
countstring required
sort'ASC' | 'DESC'
sort_by'first_name' | 'role_id' | 'emp_code'

Request body

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "total_pages": 249,
    "current_page": 1,
    "users": [
      {
        "user_uid": "7e2dcf46-8fb1-4e55-ae0b-28e51a0b6638",
        "first_name": "abi",
        "last_name": "zuper",
        "email": "abi@zuper.co",
        "designation": "Developer",
        "emp_code": "001",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
        "is_active": 1,
        "created_at": "2022-11-10T13:37:58.000Z",
        "updated_at": "2022-11-10T13:37:58.000Z"
      }
    ]
  }
}

Changes