Get All Team With Users

Changed on
get/team

Request

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

Request body

Response

200

typestring

Example response

{
  "type": "success",
  "data": [
    {
      "team_uid": "94d84b0f-ca91-40b6-b8b6-69c811476de9",
      "team_name": "Installation Team",
      "team_color": "#27ae60",
      "team_description": "install",
      "is_active": true,
      "created_at": "2018-05-31T05:50:42.000Z",
      "users": [
        {
          "user_uid": "71468f36-a847-49a6-b849-02b6992b2b08",
          "first_name": "Simon",
          "last_name": "V",
          "email": "sreevidya@zuper.co",
          "home_phone_number": "7010092903",
          "designation": "Admin",
          "emp_code": "120",
          "work_phone_number": "7010092903",
          "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/6024fd20-080c-11ed-be73-8b6ed5c86b4b.jpg",
          "hourly_labor_charge": 120,
          "is_active": true,
          "created_at": "2019-01-21T07:24:22.000Z",
          "updated_at": "2023-10-05T11:24:19.000Z",
          "role": {
            "role_uid": "504e4eac-ff7d-11e7-8be5-0ed5f89f718b",
            "role_name": "Admin"
          }
        }
      ]
    }
  ],
  "count": {
    "team_count": 44,
    "users_count": 130
  }
}

Changes