Operation
Information of the operation
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.offer |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
GET Single property request |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/offer |
Div | ||
---|---|---|
| ||
GET Multiproperty request |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/offer |
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. | |
offset | Integer | false | request parameter | 0 | Offset of the array of results. |
limit | Integer | false | request parameter | 10 | Limit of results. |
sort | string | false | request parameter | id | Property of the entity to sort by. |
sortMode | string | false | request parameter | Asc | Mode of sorting. |
propertyIdList | Integer List | false | request parameter | Property Id List - Only for Multiproperty Get |
Example Single Property request
Code Block | ||||
---|---|---|---|---|
| ||||
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/offer |
Example Multiproperty request
Code Block | ||||
---|---|---|---|---|
| ||||
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/offer |
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example SingleProperty response
Code Block | ||
---|---|---|
| ||
{ "count": 17, "offset": 0, "limit": 103, "list": [ { { "id": 1,16, "code": "TEST1EARLY5", "name": "Offer Test 1"5% Early" }, { "id": 217, "code": "TEST2EARLY10", "name": "Offer10% Test 2Early" }, }, { "id": 3, { "code": "TEST3", "nameid": "Offer Test 3" 18, }, { "idcode": 4"EARLY15", "code": "OLDNR", "name": "OLD15% Non RefundableEarly" }, } { ] } |
Example Multiproperty response
Code Block | ||
---|---|---|
| ||
{ "idcount": 517, "offset": 0, "codelimit": "OLDMIN3"3, "namelist": "OLD[ Minimum 3 nights" }, { "id": 616, "code": "OLDMIN7", "namecode": "OLDEARLY5", Minimum 7 nights" }, { "name": "5% Early" "idpropertyId": 7,4 "code": "OLDMIN14" }, "name": "OLD Minimum 14 nights" { }, { "id": 817, "code": "OLDEB15DEARLY10", "name": "OLD10% Early" Booking 15 Days"propertyId": 4 }, { }, "id": 9, { "code": "OLDEB30D", "nameid": "OLD Early Booking 30 Days"7, }, { "idcode": 10"EARLY5", "code": "OLDEB60D", "name": "OLD5% Early" Booking 60 Days""propertyId": 3 } ] } |