Operation
Information of the operation
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/promotion
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | Unique identificator of the chain. | |
propertyId | Integer | true | Unique identificator of the property. | |
offset | Integer | false | 0 | Offset of the array of results. |
limit | Integer | false | 10 | Limit of results. |
sort | string | false | id | Property of the entity to sort by. |
sortMode | string | false | Asc | Mode of sorting. |
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/promotion
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 Promotion code string true Code of the Promotion name string true Name of the Promotion 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 propertyId int false Id of the property (Only for multiproperty request)
Example response
{ "count": 1, "offset": 0, "limit": 10, "list": [ { "id": 1, "code": "WEB", "name": "Web Promotion" } ] }