GET api/ValidatePromoCode/{token}/{promoCode}
Validate a promo code for the specified tour search
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
The tour search token |
string |
Required |
| promoCode |
The promo code |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PromoCodeValidationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
The tour search token |
string |
None. |
| response |
The response object |
PromoCode |
None. |
| status |
The response status |
ResponseStatus |
None. |
| success |
An indication that the request was successfully completed or failed |
boolean |
None. |
| datestamp |
The date and time that the request was completed |
date |
None. |
Response Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"response": {
"promoCode": "sample string 1",
"isValid": true
},
"status": {
"code": 1,
"message": "sample string 2"
},
"success": true,
"datestamp": "2026-08-03T20:31:11.9110356+01:00"
}