Skip to main content
POST
/
api
/
v1
/
task
/
hotels
/
{hotelId}
/
checklists
/
{checklistId}
/
logs
Fetch checklist submissions (logs)
curl --request POST \
  --url https://api.xenia.team/api/v1/task/hotels/{hotelId}/checklists/{checklistId}/logs \
  --header 'Content-Type: application/json' \
  --header 'workspace-id: <workspace-id>' \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "advanceFilters": {
    "condition": "AND",
    "filters": [
      {
        "filterName": "<string>",
        "comparator": "is",
        "value": [
          "<string>"
        ],
        "conditional": "<string>"
      }
    ]
  }
}'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z",
      "ChecklistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "submitterTitle": "<string>",
      "progress": {
        "count": 123,
        "score": 123,
        "progress": 123,
        "passFailCount": 123,
        "completedCount": 123,
        "passFailCompletedCount": 123
      }
    }
  ],
  "totalCount": 123,
  "totalPages": 123,
  "page": 123,
  "perPage": 123
}

Authorizations

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

Headers

workspace-id
string<uuid>
required

Path Parameters

hotelId
string<uuid>
required
checklistId
string<uuid>
required

Query Parameters

detail
boolean
sectioned
boolean
page
integer
perPage
integer

Body

application/json
advanceFilters
object

Response

200 - application/json

List of submissions

data
object[]
totalCount
integer
totalPages
integer
page
integer
perPage
integer
I