Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Operation

Information of the operation

GET Request

https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/rate/{rateId}

Request

Property

Type

Required

Type parameter

Default value

Description

chainId

Integer

true

path parameter

Unique identificator of the chain.

propertyId

Integer

true

path parameter

Unique identificator of the property.

rateId

Integer

true

path parameter

Unique identificator of the rate.

Example Single Property request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/rate/1

Response

Property

Type

Required

Description

Page

Page

true

Description of the response of the success operation

Entity



FieldTypeRequiredDescription
idinttrueId of the Rate
codestringtrueCode of the Rate
namestringtrueName of the Rate
rateTypeRateTypetrueRateType of the ChainRate that belongs this Rate

releaseDay

int

true

ReleaseDay of the Offer

deadLineDay

int

true

DeadLineDay of the Offer

startDate

LocalDate

true

StartDate of the Offer

endDate

LocalDate

true

EndDate of the Offer

startSellDate

LocalDate

false

StartSellDate of the Offer

endSellDate

LocalDate

false

EndSellDate of the Offer

propertyId

int

false

Id of the property (Only for multiproperty request)

Example  response

{
    "id": 1,
    "code": "BAR",
    "name": "Best Available Rate",
    "nameI18nId": 11059,
    "nameI18n": "Best Available Rate",
    "description": null,
    "descriptionI18nId": 11060,
    "descriptionI18n": null,
    "releaseDay": 0,
    "deadLineDay": 0,
    "minStay": 0,
    "maxStay": 0,
    "manual": true,
    "internalUse": false,
    "combinable": true,
    "parentPercentDiscount": null,
    "parentAmountDiscount": null,
    "negotiated": false,
    "productPackage": false,
    "groupBoardInAccommodation": true,
    "boardAmountIncluded": false,
    "remark": null,
    "active": true,
    "inactiveReason": null,
    "order": 1,
    "entityProtected": null,
    "hasDifferenceWithChain": false,
    "rateType": {
        "id": 2,
        "code": "CLU",
        "name": "Club/Concierge"
    },
    "createdDate": "2024-11-12T08:47:21.2740517"
}

  • No labels