Booking

Retrieves the collection of Booking resources.

get

Retrieves the collection of Booking resources.

Autorisierungen
Abfrageparameter
id[between]stringOptional
id[gt]stringOptional
id[gte]stringOptional
id[lt]stringOptional
id[lte]stringOptional
Antworten
200

Booking collection

get
GET /bookings HTTP/1.1
Host: api
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Booking collection

{
  "hydra:member": [
    {
      "@id": "text",
      "@type": "text",
      "@context": "text",
      "id": 1,
      "state": 0,
      "confirmedAt": "2025-09-12T16:33:07.095Z",
      "person": "/entitiy/1",
      "invoice": "/entitiy/1",
      "number": "text",
      "barcode": "text"
    }
  ],
  "hydra:totalItems": 1,
  "hydra:view": {
    "@id": "string",
    "type": "string",
    "hydra:first": "string",
    "hydra:last": "string",
    "hydra:previous": "string",
    "hydra:next": "string"
  },
  "hydra:search": {
    "@type": "text",
    "hydra:template": "text",
    "hydra:variableRepresentation": "text",
    "hydra:mapping": [
      {
        "@type": "text",
        "variable": "text",
        "property": "text",
        "required": true
      }
    ]
  }
}

Retrieves a Booking resource.

get

Retrieves a Booking resource.

Autorisierungen
Pfadparameter
idstringErforderlich

Resource identifier

Antworten
200

Booking resource

get
GET /bookings/{id} HTTP/1.1
Host: api
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "@id": "text",
  "@type": "text",
  "@context": "text",
  "id": 1,
  "state": 0,
  "confirmedAt": "2025-09-12T16:33:07.095Z",
  "person": "/entitiy/1",
  "invoice": "/entitiy/1",
  "number": "text",
  "barcode": "text"
}

War das hilfreich?