Cancellations
1 min
GET
https://tnapi.ticketpay.de/exports/cancellations
fromstring<p>A date or datetime parameter to select the data start with this date. In default this filter is used in the field updated_iso.</p>
tostring<p>A date or datetime parameter to select the data end with this date. In default this filter is used in the field updated_iso.</p>
filter_bystring<p>Datetime filter field. Default value is updated_iso. Possible values are created_iso and updated_iso</p>
time_periodstring<p>If you dont want to use from and to you can use a time period to select data with a special period. Possible values are months, days, hours, minutes, seconds</p>
time_rangeinteger<p>A time range is needed if you use the time_period parameter to select data. For exapmle you want tho get the last two months - time_period is months and time_range is 2</p>
idintegerTo filter the results you can pass here the id of one of your cancellations
related_tointegerTo filter the results you can pass here the id of a ticket or order to get the cancellation
event_idinteger<p>To filter the results you can pass here the event_id of one out yours events</p>
Authorizationstring<p>To authentificate please use your API-KEY created here <a href="https://iam.ticketpay.de/api-keys" target="_blank">https://iam.ticketpay.de/api-keys</a>. Please give this API-KEY the role Export.</p>
200Response for get cancellations.
401Response for a failed authentification.
curl --request GET \
--url https://tnapi.ticketpay.de/exports/cancellations \
--header 'accept: application/json' \
--header 'authorization: string'