v1

latestOpenAPI 3.0.02026-07-243271291.7 MB
DiscountActions

GET discount_actions

Returns discount actions of the administration

get/v3/administrations/{administration_id}/discount_actions

Path parameters

administration_idstring required

Administration ID

Query parameters

page[number]integer

Page number

page[size]integer

Page size

sortstring

Sort. Specify a comma separated list of attributes to sort on. Prefix attribute with a - to sort in descending order. Allowed attributes: id, created_at, updated_at

fields[discount_action]string

Fieldset. Specify a comma separated list of attributes to return

includestring

Includes list. Specify a comma separated list of resources to include.

filter[id]string

Filter on ID

filter[discount_percentage]string

Filter on discount_percentage

filter[minimum_number_of_nights]string

Filter on minimum_number_of_nights

filter[maximum_number_of_nights]string

Filter on maximum_number_of_nights

filter[days_in_advance_mode]string

Filter on days_in_advance_mode

filter[number_of_days_in_advance]string

Filter on number_of_days_in_advance

filter[coupon_codes]string

Filter on coupon_codes

filter[archived]string

Filter on archived

filter[created_at]string

Filter on created_at

filter[updated_at]string

Filter on updated_at

filter[name]string

Filter on name

filter[administration]string

Filter on administration. Specify a comma separated list of IDs to filter on.

filter[discount_campaign]string

Filter on discount_campaign. Specify a comma separated list of IDs to filter on.

filter[book_period]string

Filter on book_period. Specify a comma separated list of IDs to filter on.

filter[stay_period]string

Filter on stay_period. Specify a comma separated list of IDs to filter on.

filter[guest_group_limits]string

Filter on guest_group_limits. Specify a comma separated list of IDs to filter on.

filter[rentable_types]string

Filter on rentable_types. Specify a comma separated list of IDs to filter on.

filter[channels]string

Filter on channels. Specify a comma separated list of IDs to filter on.

include_archivedboolean

When true, archived discount actions are included in the response

Headers

Accept-Languagestring

Supported languages. A comma separated list with one or more of the following locales: cs, da, de, de-AT, de-CH, en, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr. Default: 'en'.

Response

DiscountActionCollectionResponse