Create amenity links for a unit
Path Parameters
Body Parameters
Unique id associated with each amenity
Date from which the linked amenity is applicable for usage. The format of the date wil be shown using ISO 8601 standard(yyyy-MM-dd)
Date till which the linked amenity is applicable for usage. The format of the date wil be shown using ISO 8601 standard(yyyy-MM-dd)
If the amenity is of type number then the value provided to the amenity is displayed here
If the amenity is of type text then the value provided to the amenity is displayed here
If the amenity should be visible to the user then this field is true else false
The id associated to the extra
Response
Response Attributes
Unique id associated with each amenity link
Unique id associated with each amenity
Date till which the linked amenity is applicable for usage. The format of the date wil be shown using ISO 8601 standard(yyyy-MM-dd)
Date from which the linked amenity is applicable for usage. The format of the date wil be shown using ISO 8601 standard(yyyy-MM-dd)
If the amenity is of type number then the value provided to the amenity is displayed here
If the amenity is of type text then the value provided to the amenity is displayed here
If the amenity should be visible to the user then this field is true else false
The id associated to the extra
The field tells if the amenity is of the resource itself or is inherited from the parent resource. Possible values can be: SELF, PARENT, CHILD
SELFPARENTCHILDInformation of the amenities available in the accommodationtype which depends on a language and is translatable by the user. Multiple entries for different languages can exist.
Show child attributes
Type of the amenity. Possible values can be : SIMPLE, NUMBER, TEXT, LIST,GROUP
SIMPLENUMBERTEXTLISTGROUPValue of the identifier associated with an amenity linked
Details of metric
Show child attributes
If the amenity has a parent then the id of the parent amenity is displayed in this field
Details related to group of amenities
Show child attributes
Date from which the amenity was archived. The amenities will not be displayed if the amenity is archived. Thus for all amenities which are being displayed the value will be null.Date should be added using ISO 8601 standard(yyyy-MM-dd)