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 |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/offer |
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | Unique identificator of the chain. | |
propertyId | Integer | true | Unique identificator of the property. | |
offset | Integer | false | 0 | Offset of the array of results. |
limit | Integer | false | 10 | Limit of results. |
sort | string | false | id | Property of the entity to sort by. |
sortMode | string | false | Asc | Mode of sorting. |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/offer |
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example response
Code Block | ||
---|---|---|
| ||
{ "count": 17, "offset": 0, "limit": 10, "list": [ { "id": 1, "code": "TEST1", "name": "Offer Test 1" }, { "id": 2, "code": "TEST2", "name": "Offer Test 2" }, { "id": 3, "code": "TEST3", "name": "Offer Test 3" }, { "id": 4, "code": "OLDNR", "name": "OLD Non Refundable" }, { "id": 5, "code": "OLDMIN3", "name": "OLD Minimum 3 nights" }, { "id": 6, "code": "OLDMIN7", "name": "OLD Minimum 7 nights" }, { "id": 7, "code": "OLDMIN14", "name": "OLD Minimum 14 nights" }, { "id": 8, "code": "OLDEB15D", "name": "OLD Early Booking 15 Days" }, { "id": 9, "code": "OLDEB30D", "name": "OLD Early Booking 30 Days" }, { "id": 10, "code": "OLDEB60D", "name": "OLD Early Booking 60 Days" } ] } |