Skip to main content
GET
/
api
/
v1
/
hotel
/
hotels
/
{workspaceId}
/
locations
/
{locationId}
/
tasks
Get Tasks for Location
curl --request GET \
  --url https://api.xenia.team/api/v1/hotel/hotels/{workspaceId}/locations/{locationId}/tasks \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
  "data": [
    {
      "id": "29c4f53b-1414-42cb-9c7d-59839694b2d6",
      "title": "Work order with template",
      "taskStatus": "Open",
      "createdAt": "2025-06-23T09:40:53.266Z",
      "taskNumber": "92131",
      "priority": "None",
      "ChecklistId": "68e3e08a-0fd0-4339-abdc-526b91027394",
      "assignees": [
        "e25dd448-7ae7-4588-8767-7e1a316547e5"
      ],
      "LocationId": "b9164b03-60c2-4500-89a4-f490e38c9872",
      "Checklist": {
        "icon": {
          "icon": "Default",
          "color": "#FFA681"
        },
        "id": "68e3e08a-0fd0-4339-abdc-526b91027394",
        "name": "Default Location",
        "HotelChecklist": {
          "FolderId": null
        }
      },
      "Location": {
        "id": "b9164b03-60c2-4500-89a4-f490e38c9872",
        "name": "013 - Marion South",
        "timezone": "Asia/Karachi",
        "address": "X3W8+G6C, Sector 5-I Sector 5 M New Karachi Town, Karachi, Pakistan",
        "coordinates": {
          "type": "Point",
          "coordinates": [
            67.065676627,
            24.996763148
          ]
        },
        "Level": {
          "id": "98329f39-e263-484d-8fa7-e951fcddb9c1",
          "title": "Store",
          "isSite": true
        }
      },
      "TaskAssignees": [
        {
          "Assigned": {
            "fullName": "Full User (China)",
            "emailId": "nihad2@yopmail.com",
            "phoneNo": "+923345020366"
          }
        }
      ]
    }
  ],
  "meta": {}
}

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required
locationId
string<uuid>
required

Response

List of tasks for the specified location

The response is of type any.

I