Skip to main content
PUT
/
api
/
v1
/
task
/
hotels
/
{hotelId}
/
checklist-logs
/
{checklistLogId}
/
items
Update checklist submission items
curl --request PUT \
  --url https://api.xenia.team/api/v1/task/hotels/{hotelId}/checklist-logs/{checklistLogId}/items \
  --header 'Content-Type: application/json' \
  --header 'workspace-id: <workspace-id>' \
  --header 'x-client-key: <api-key>' \
  --data '{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ChecklistItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "passFail",
      "answers": {
        "value": "<string>"
      },
      "completedAt": "2025-06-24T20:30:00.402Z"
    }
  ],
  "itemNotes": [
    {}
  ],
  "logNotes": [
    {}
  ],
  "deleteItemNotes": [
    {}
  ],
  "deleteLogNotes": [
    {}
  ],
  "lastItemUpdatedAt": "2025-06-24T20:30:00Z"
}'
{
  "meta": {}
}

Authorizations

x-client-key
string
header
required

Headers

workspace-id
string
required
Example:

"cb363f7e-c52a-4478-911d-f6a6f791090e"

Path Parameters

hotelId
string<uuid>
required
Example:

"cb363f7e-c52a-4478-911d-f6a6f791090e"

checklistLogId
string<uuid>
required
Example:

"9981988b-3835-497f-9708-af755e988368"

Body

application/json
items
object[]
required
lastItemUpdatedAt
string<date-time>
required
Example:

"2025-06-24T20:30:00Z"

itemNotes
object[]
logNotes
object[]
deleteItemNotes
object[]
deleteLogNotes
object[]

Response

200 - application/json

Checklist submission items updated successfully

The response is of type any.

I