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


PropertyTypeRequiredType 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.
propertyIdListInteger Listfalserequest 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

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



FieldTypeRequiredDescription
idinttrueId of the Offer
codestringtrueCode of the Offer
namestringtrueName of the Offer
releaseDayinttrueReleaseDay of the Offer
deadLineDayinttrueDeadLineDay of the Offer
startDateLocalDatetrueStartDate of the Offer
endDateLocalDatetrueEndDate of the Offer
startSellDateLocalDatefalseStartSellDate of the Offer
endSellDateLocalDatefalseEndSellDate 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
        	}
  		  ]
}