Operation
Information of the operation
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.policy |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
GET |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/policy |
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://prodpublicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/policy |
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example response
Code Block | ||
---|---|---|
| ||
{ "count": 6, "offset": 0, "limit": 10, "list": [ { "id": 2, "code": "NR", "name": "Non Refundable" }, { "id": 8, "code": "60D", "name": "60 Days Before Arrival" }, { "id": 14, "code": "30D", "name": "30 Days Before Arrival" }, { "id": 20, "code": "15D", "name": "15 Days Before Arrival" }, { "id": 26, "code": "48H", "name": "48 Hours Before Arrival" }, { "id": 32, "code": "24H", "name": "24 Hours Before Arrival" } ] } |