Policy List [GET]
Operation
Information of the operation
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/policy
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 | 0 | Limit of results. |
sort | string | false | request parameter | 0 | Property of the entity to sort by. |
sortMode | string | false | request parameter | 0 | Mode of sorting. |
Example request
GET https://publicapi-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
Example response
{
"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"
}
]
}