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 4 Current »

Operation

Information of the operation

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

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.

offerId

Integer

true

path parameter

Unique identificator of the offer.

Example Single Property request

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

Response

Property

Type

Required

Description

Page

Page

true

Description 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  response

{
    "id": 1,
    "code": "NR",
    "name": "Non Refundable",
    "releaseDay": 0,
    "deadLineDay": 0,
    "minStay": 0,
    "maxStay": 0,
    "startDate": "2022-01-01",
    "endDate": "2025-12-31",
    "startSellDate": null,
    "endSellDate": null
}

  • No labels