Promotion GetById [GET]

Operation

Information of the operation

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

 

Request

 

Property

Type

Required

Type parameter

Default value

Description

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.

promotionId

Integer

true

path parameter

 

Unique identificator of the promotion.

 

Example Single Property request

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

 

 

Response

The response is an entity of type Promotion or an error if it's not found.

Entity


Example  response

{ "id": 1, "code": "WEB", "name": "Web Promotion", "releaseDay": 0, "deadLineDay": 0, "minStay": 0, "maxStay": 0, "startDate": "2023-01-01", "endDate": "2025-12-31", "startSellDate": null, "endSellDate": null }

Â