Next Topic

Previous Topic

Book Contents

Get Ticket Sources

Returns a TicketSource array of possible ticket sources defined in your Vorex account.

Request

URL

https://vorexlogin.com/GetTicketSources

Type

Params

Values

HEAD

WSUserCredentials

Object

PARAM

outputMessage

OUTPUT String

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/GetTicketSources"

<?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>
<GetTicketSources xmlns="https://vorexlogin.com/" />
</soap:Body>
</soap:Envelope>

Response

Status

Response

Success

GetTicketSourcesResult:

  • Array of TicketSource:
    • SourceId (int)
    • SourceName (string)

outputMessage:

  • Empty String

Failure

GetTicketSourcesResult:

  • Returns Null

outputMessage:

  • "Failed to get ticket sources list."

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>
<GetTicketSourcesResponse xmlns="https://vorexlogin.com/">
<GetTicketSourcesResult>
<TicketSource>
<SourceId>int</SourceId>
<SourceName>string</SourceName>
</TicketSource>
<TicketSource>
<SourceId>int</SourceId>
<SourceName>string</SourceName>
</TicketSource>
</GetTicketSourcesResult>
<outputMessage>string</outputMessage>
</GetTicketSourcesResponse>
</soap:Body>
</soap:Envelope>