You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tax_included_in_rate | Boolean | Read/Write | Whether Tax amount is already included in fee's rate or not. If fee's rate is 100 and there is a tax with a percentage of 10% assigned to it, that tax would already be included in 100 if it the value was set to `true`. However, if set to `false`, the "total" amount (in the context of [Bookings'](/reference/endpoints/bookings/) creation) would be 100 + 10% from 100 which is 110. | **Required**
Copy file name to clipboardExpand all lines: content/reference/endpoints/rentals_contents_overrides.md
+25-15Lines changed: 25 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,14 @@
1
1
# Rentals Contents Overrides
2
-
Rental content overrides endpoint was made so that different channels could have different length validations for our fields like `headline, summary, description`.
3
-
By using those objects clients applications can use full available length at each channel.
4
2
5
3
1. TOC
6
4
{:toc}
7
5
6
+
## Overview
7
+
8
+
This resource represents the Rental Content Overrides which allow different channels (other [Applications](/reference/endpoints/applications/).) to have customized content for fields like `headline`, `summary`, `description`, which also allows to bypass the length validation that is normally applied for these fields in [Rentals](/reference/endpoints/rentals/) endpoint.
9
+
10
+
Note: An Application needs to be configured in a way that content overrides are permitted. Most likely you will need to reach out to us and ask for this feature to be enabled for your Application or if you want to customize the maximum length for the overridable fields.
11
+
8
12
### Parameters
9
13
<ulclass="nav nav-pills"role="tablist">
10
14
<liclass="disabled"><a>OAuth Scopes:</a></li>
@@ -15,8 +19,11 @@ By using those objects clients applications can use full available length at eac
id | Integer | Read | Rentals Contents Override's ID.
20
27
description | [Object](/reference/enums#formats) | Read | Description override for related application, list of locales described in [enums section](/reference/enums#locales).
21
28
headline | [Object](/reference/enums#formats) | Read | Headline override for related application, list of locales described in [enums section](/reference/enums#locales).
22
29
summary | [Object](/reference/enums#formats) | Read | Summary override for related application, list of locales described in [enums section](/reference/enums#locales).
description | [Object](/reference/enums#formats) | Read/Write | Description override for related application, list of locales described in [enums section](/reference/enums#locales).
36
-
headline | [Object](/reference/enums#formats) | Read/Write | Headline override for related application, list of locales described in [enums section](/reference/enums#locales).
37
-
summary | [Object](/reference/enums#formats) | Read/Write | Summary override for related application, list of locales described in [enums section](/reference/enums#locales).
application_id | Integer | Write | Application's Id related to the Rentals Contents Override. | **Required** on create
44
+
rental_id | Integer | Write | Rental's ID related to the Rentals Contents Override. | **Required** on create
45
+
description | [Object](/reference/enums#formats) | Read/Write | Description override for related application, list of locales described in [enums section](/reference/enums#locales). | Maximum length: 10 000 (unless customized)
46
+
headline | [Object](/reference/enums#formats) | Read/Write | Headline override for related application, list of locales described in [enums section](/reference/enums#locales). | Maximum length: 75 (unless customized)
47
+
summary | [Object](/reference/enums#formats) | Read/Write | Summary override for related application, list of locales described in [enums section](/reference/enums#locales). | Maximum length: 150 (unless customized)
Copy file name to clipboardExpand all lines: content/reference/endpoints/rentals_fees.md
+38-24Lines changed: 38 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@
3
3
1. TOC
4
4
{:toc}
5
5
6
+
## Overview
7
+
8
+
This resource represents Rentals Fees which are a way to define the relationship between [Rentals](/reference/endpoints/rentals/) and [Fees](/reference/endpoints/fees/) and provide a configuration for the behavior of the Fee within the scope of a given ental.
always_applied | Boolean | Read | Available to all seasons and periods if set to true.
25
+
id | Integer | Read | Rentals Fee's ID.
26
+
always_applied | Boolean | Read | Rentals Fee will always be applicable if set to true (if set to false, the applicability periods are defined via `seasons` or `start_date`/`end_date`)
end_date | [Date](/reference/enums#formats) | Read | Rentals Fee's end date.
37
+
start_date | [Date](/reference/enums#formats) | Read | Rentals Fee's start date (applicable only if `always_applied` is false and `seasons` are empty).
38
+
end_date | [Date](/reference/enums#formats) | Read | Rentals Fee's end date (applicable only if `always_applied` is false and `seasons` are empty).
fee_id | Integer | Write | Fee's ID related to the Rentals Fee. | **Required**
51
+
season_ids | Array | Write | Seasons' IDs related to the Rentals Fee. | Use only one of these: `season_ids`, `always_applied`, `start_date`/`end_date`
52
+
always_applied | Boolean | Read/Write | Rentals Fee will always be applicable if set to true | Use only one of these: `season_ids`, `always_applied`, `start_date`/`end_date`
53
+
maximum_bookable | Integer | Read/Write | Rentals Fee's maximum booked count. | Must be greater than 0 if present
54
+
name | [Object](/reference/enums#formats) | Read | Rentals Fee's name, list of locales described in [enums section](/reference/enums#locales). |
55
+
public | Boolean | Read | Publicly bookable by client if set to true. |
start_date | [Date](/reference/enums#formats) | Read/Write | Rentals Fee's start date. | Use only one of these: `season_ids`, `always_applied`, `start_date`/`end_date`, **required** is `end_date` is present, must be before `end_date`
65
+
end_date | [Date](/reference/enums#formats) | Read/Write | Rentals Fee's end date. | Use only one of these: `season_ids`, `always_applied`, `start_date`/`end_date`, **required** is `start_date` is present, must be after `start_date`
name | [Object](/reference/enums#formats)| Read/Write | Rentals Tag's title, list of locales described in [enums section](/reference/enums#locales). | **Required**
38
+
logo | String | Read/Write | Rentals Tag's logo (Font Awesome class). |
39
+
color | String | Read/Write | Rentals Tag's color (hex). | **Required**
0 commit comments