Skip to content

Retrieve cancellation aggregation

GET
/api/managing-entity/{managingEntityIdentifier}/booking/aggregate/cancellation
curl --request GET \
--url https://api.wink.travel/api/managing-entity//booking/aggregate/cancellation \
--header 'Wink-Version: 2.0'

Returns aggregate cancellation data for a managing entity.

managingEntityIdentifier
required
string
""

Managing entity identifier

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
Array<object>
object
cancelled
required

Whether bookings are cancelled

boolean
count
required

Count of bookings in this cancellation state

integer format: int64
""
Example
[
{
"cancelled": false,
"count": ""
}
]

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}