Allotment List [GET]
Operation
Information of the operation
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/allotment
Request
Property | Type | Required | Path 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. |
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/allotment
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Field Type Required Description id Integer true Id of the Allotment code String true Code of the Allotment name String true Name of the Allotment startDate LocalDate false Start Date of the Allotment endDate LocalDate false End Date of the Allotment startSellDate LocalDate false Start Sell Date of the Allotment endSellDate LocalDate false End Sell Date of the Allotment releaseDay Integer false releaseDay of the Allotment deadlineDay Integer false deadlineDay of the Allotment
Example response
{ "count": 3, "offset": 0, "limit": 10, "list": [ { "id": 2, "code": "TEST1", "name": "Allotment Test 1", "startDate": "2023-01-01", "endDate": "2025-01-01", "startSellDate": null, "endSellDate": null, "releaseDay": 1, "deadLineDay": 2 }, { "id": 17, "code": "TEST2", "name": "Allotment Test 2", "startDate": "2023-01-01", "endDate": "2025-01-01", "startSellDate": null, "endSellDate": null, "releaseDay": 0, "deadLineDay": 0 }, { "id": 32, "code": "TEST3", "name": "Allotment Test 3", "startDate": "2023-01-01", "endDate": "2025-01-01", "startSellDate": null, "endSellDate": null, "releaseDay": 0, "deadLineDay": 0 } ] }