List of Departments

Get the list of departments for a customer

GET https://api.agreeq.com/v1/organization/departments/:clientUUID/:venueUUID

This endpoint allows you to get the list of departments for a customer

Path Parameters

Name
Type
Description

venueUUID

string

venueUUID which is optional

clientUUID

string

clientUUID.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

{
    "message": "success",
    "status": 200,
    "departments": [
        {
            "venueUUID": "7b0c714a-1b95-414b-b31d-e22a5dec2b16",
            "venueName": "Agreefy Kochi",
            "timezone": "Asia/Kolkata",
            "city": "Kochi",
            "departmentUUID": "1c518161-7cc0-4160-ab13-ad282883bf91",
            "departmentName": "Dept1",
            "bookingType": "token"
        },
        {
            "venueUUID": "7b0c714a-1b95-414b-b31d-e22a5dec2b16",
            "venueName": "Agreefy Kochi",
            "timezone": "Asia/Kolkata",
            "city": "Kochi",
            "departmentUUID": "7651b216-6b40-45e9-a15c-90d5eb8e91cd",
            "departmentName": "Dept2",
            "bookingType": "token"
        },
        {
            "venueUUID": "1a0966a1-7d34-41c7-87b2-9cc70ae0bfb7",
            "venueName": "Agreefy Dubai",
            "timezone": "Asia/Dubai",
            "city": "Dubai",
            "departmentUUID": "b5aca58c-0efd-4657-933d-d59da5faa35f",
            "departmentName": "Dept_Dubai_1",
            "bookingType": "token"
        }
    ]
}

Last updated