Skip to content
campaiDeveloper
campai.com

Booking · Tournaments

POST/{organizationId}/{mandateId}/booking/tournaments/{tournamentId}/history/listReads only

List tournament history

Returns the change history of a tournament: changes to its details, days, place and status. Who entered which result is part of each match.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • tournament.read
Also checked, depending on the request and the records it touches
  • user.read
  • apiKey.read
  • contact:member.read
  • contact:address.read
  • contact:customer.read
  • contact:sponsor.read
  • contact:contributor.read
  • contact:employee.read
  • contact:supplier.read
  • contact.read

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • tournamentIdidrequired

Body

Content-Type: application/json

  • limitinteger

    1–50 · default 20

  • offsetinteger

    at least 0 · default 0

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/tournaments/YOUR_TOURNAMENT_ID/history/list' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

Content-Type: application/json

A list of object.

  • _idid
  • timestampstring · date-time
  • actorobject
  • reviewedByobjectnullable
  • actionstring
    created updated added removed deleted
  • groupsobject[]
    2 properties
    • pathstring
    • propertiesobject[]
      3 properties
      • pathstring
      • fromany
      • toany
Response200
[
  {
    "_id": "000000000000000000000001",
    "timestamp": "2026-06-15T22:30:00Z",
    "actor": {
      "name": "string",
      "type": "user",
      "userId": "string",
      "image": {
        "resource": "string"
      }
    },
    "reviewedBy": {
      "name": "string",
      "type": "user",
      "userId": "string",
      "image": {
        "resource": "string"
      }
    },
    "action": "created"
  }
]

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.