Allotment List [GET]

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/allotment


Request


PropertyTypeRequiredPath parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterAscMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/allotment


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



FieldTypeRequiredDescription
idIntegertrueId of the Allotment
codeStringtrueCode of the Allotment
nameStringtrueName of the Allotment
startDateLocalDatefalseStart Date of the Allotment
endDateLocalDatefalseEnd Date of the Allotment
startSellDateLocalDatefalseStart Sell Date of the Allotment
endSellDateLocalDatefalseEnd Sell Date of the Allotment
releaseDayIntegerfalsereleaseDay of the Allotment
deadlineDayIntegerfalsedeadlineDay 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
		}
	]
}