Returns a TicketType
array of possible ticket types defined in your Vorex account.
Request
URL |
https://vorexlogin.com/GetTicketTypes |
Type |
Params |
Values |
HEAD |
WSUserCredentials |
Object |
PARAM |
outputMessage |
OUTPUT String |
WSUserCredentials
- A custom authentication SOAP header object consisting of:UserName
Password
CompanyName
Example Request
POST /WS/OpenAPI.asmx HTTP/1.1
Host: vorexlogin.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://vorexlogin.com/GetTicketTypes"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<WSUserCredentials xmlns="https://vorexlogin.com/">
<UserName>string</UserName>
<Password>string</Password>
<CompanyName>string</CompanyName>
</WSUserCredentials>
</soap:Header>
<soap:Body>
<GetTicketTypes xmlns="https://vorexlogin.com/" />
</soap:Body>
</soap:Envelope>
Response
Status |
Response |
Success |
GetTicketTypesResult:
outputMessage:
|
Failure |
GetTicketTypesResult:
outputMessage:
|
Example Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetTicketTypesResponse xmlns="https://vorexlogin.com/">
<GetTicketTypesResult>
<TicketType>
<TypeId>int</TypeId>
<TypeName>string</TypeName>
</TicketType>
<TicketType>
<TypeId>int</TypeId>
<TypeName>string</TypeName>
</TicketType>
</GetTicketTypesResult>
<outputMessage>string</outputMessage>
</GetTicketTypesResponse>
</soap:Body>
</soap:Envelope>