Offer List [GET]
Operation
Information of the operation
GET Single property request
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/offer
GET Multiproperty request
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/offer
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 | 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. |
propertyIdList | Integer List | false | request parameter | Property Id List - Only for Multiproperty Get |
Example Single Property request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/offer
Example Multiproperty request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/offer
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Id of the Offer |
code | string | true | Code of the Offer |
name | string | true | Name of the Offer |
releaseDay | int | true | ReleaseDay of the Offer |
deadLineDay | int | true | DeadLineDay of the Offer |
startDate | LocalDate | true | StartDate of the Offer |
endDate | LocalDate | true | EndDate of the Offer |
startSellDate | LocalDate | false | StartSellDate of the Offer |
endSellDate | LocalDate | false | EndSellDate of the Offer |
Example SingleProperty response
{ "count": 17, "offset": 0, "limit": 3, "list": [ { "id": 16, "code": "EARLY5", "name": "5% Early" }, { "id": 17, "code": "EARLY10", "name": "10% Early" }, { "id": 18, "code": "EARLY15", "name": "15% Early" } ] }
Example Multiproperty response
{ "count": 17, "offset": 0, "limit": 3, "list": [ { "id": 16, "code": "EARLY5", "name": "5% Early" "propertyId": 4 }, { "id": 17, "code": "EARLY10", "name": "10% Early" "propertyId": 4 }, { "id": 7, "code": "EARLY5", "name": "5% Early" "propertyId": 3 } ] }