Moves an entry to a new position in the collection.
PATCH
/case/collections/{caseId}/{collectionId}/entry/{entryId}/{position}
curl \
--request PATCH 'http://api.example.com/case/collections/{caseId}/{collectionId}/entry/{entryId}/{position}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "organization: string"
Response examples (200)
{
"data": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"deviceMessage": "507f1f77bcf86cd799439011",
"text": "Key admission",
"customType": "string",
"customValue": "string",
"position": 0,
"type": "message",
"createdBy": "507f1f77bcf86cd799439011",
"lastUpdatedBy": "507f1f77bcf86cd799439011",
"caseCollection": "507f1f77bcf86cd799439011",
"case": "507f1f77bcf86cd799439011"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}