GET api/codes/search?eventId={eventId}&text={text}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
eventId
No documentation available.

Define this parameter in the request URI.

text
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "result": {
    "CodeId": 1,
    "EventId": 2,
    "TicketTypes": [
      1,
      2,
      3
    ],
    "CodeValue": "sample string 3",
    "DiscountAmount": 4.0,
    "IsPercentage": true,
    "NumUses": 6,
    "ValidFrom": "2024-11-26T01:56:12.8212212+00:00",
    "ValidTo": "2024-11-26T01:56:12.8212212+00:00",
    "IsAccessCode": true,
    "Email": "sample string 8"
  },
  "extras": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4",
    "sample string 5": "sample string 6"
  },
  "message": "sample string 1",
  "statusCode": 2
}

text/xml

Sample:
<SingleItemResultOfCodeKBUFOgM6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Base">
  <message>sample string 1</message>
  <statusCode>2</statusCode>
  <extras xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 5</d2p1:Key>
      <d2p1:Value>sample string 6</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </extras>
  <result xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Models">
    <d2p1:CodeId>1</d2p1:CodeId>
    <d2p1:CodeValue>sample string 3</d2p1:CodeValue>
    <d2p1:DiscountAmount>4</d2p1:DiscountAmount>
    <d2p1:Email>sample string 8</d2p1:Email>
    <d2p1:EventId>2</d2p1:EventId>
    <d2p1:IsAccessCode>true</d2p1:IsAccessCode>
    <d2p1:IsPercentage>true</d2p1:IsPercentage>
    <d2p1:NumUses>6</d2p1:NumUses>
    <d2p1:TicketTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
      <d3p1:int>3</d3p1:int>
    </d2p1:TicketTypes>
    <d2p1:ValidFrom>2024-11-26T01:56:12.8212212+00:00</d2p1:ValidFrom>
    <d2p1:ValidTo>2024-11-26T01:56:12.8212212+00:00</d2p1:ValidTo>
  </result>
</SingleItemResultOfCodeKBUFOgM6>