Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Operation

Information of the operation

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


Request


PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
Unique identificator of the chain.
propertyIdIntegertrue
Unique identificator of the property.
offsetIntegerfalse0Offset of the array of results.
limitIntegerfalse10Limit of results.
sortstringfalseidProperty of the entity to sort by.
sortModestringfalseAscMode 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": 1,
      "code": "TEST1",
      "name": "Allotment Test 1"
    },
    {
      "id": 2,
      "code": "TEST2",
      "name": "Allotment Test 2"
    },
    {
      "id": 3,
      "code": "TEST3",
      "name": "Allotment Test 3"
    }
  ]
}
  • No labels