GET api/Discount/IsDiscountValidForTickets?userId={userId}&cartId={cartId}&discountCode={discountCode}&discountCategory={discountCategory}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

cartId

string

Default value is

discountCode

string

Default value is

discountCategory

string

Default value is

Body Parameters

None.

Response Information

Resource Description

BaseResponseModel
NameDescriptionTypeAdditional information
Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
  <Result>
    <Errors>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
    </Errors>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </Result>
</BaseResponseModel>