POST v1/Trams/InvoiceSearch?invoiceNumber={invoiceNumber}&pnr={pnr}&passengerName={passengerName}&vendorName={vendorName}&amount={amount}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| invoiceNumber | string |
Required |
|
| pnr | string |
Required |
|
| passengerName | string |
Required |
|
| vendorName | string |
Required |
|
| amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
InvoiceSearchResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| searchesResponse | Collection of InvoiceSearch |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| guid | string |
None. |
|
| PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"searchesResponse": [
{
"InvoiceNo": 1,
"RecordLocator": "sample string 2",
"VendorName": "sample string 3",
"IssueDate": "2026-04-02T19:11:58.0711947+00:00",
"StartingTicketNo": "sample string 5",
"OrigTicketNo": "sample string 6",
"TotalFare": 7.0,
"PassengerName": "sample string 8",
"Provider": "sample string 9"
},
{
"InvoiceNo": 1,
"RecordLocator": "sample string 2",
"VendorName": "sample string 3",
"IssueDate": "2026-04-02T19:11:58.0711947+00:00",
"StartingTicketNo": "sample string 5",
"OrigTicketNo": "sample string 6",
"TotalFare": 7.0,
"PassengerName": "sample string 8",
"Provider": "sample string 9"
}
],
"IsSuccess": true,
"Message": "sample string 2",
"guid": "sample string 3",
"PNR": "sample string 4"
}
application/xml, text/xml
Sample:
<InvoiceSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.Trams">
<IsSuccess xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">true</IsSuccess>
<Message xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 2</Message>
<PNR xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</PNR>
<guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 3</guid>
<searchesResponse>
<InvoiceSearch>
<InvoiceNo>1</InvoiceNo>
<IssueDate>2026-04-02T19:11:58.0711947+00:00</IssueDate>
<OrigTicketNo>sample string 6</OrigTicketNo>
<PassengerName>sample string 8</PassengerName>
<Provider>sample string 9</Provider>
<RecordLocator>sample string 2</RecordLocator>
<StartingTicketNo>sample string 5</StartingTicketNo>
<TotalFare>7</TotalFare>
<VendorName>sample string 3</VendorName>
</InvoiceSearch>
<InvoiceSearch>
<InvoiceNo>1</InvoiceNo>
<IssueDate>2026-04-02T19:11:58.0711947+00:00</IssueDate>
<OrigTicketNo>sample string 6</OrigTicketNo>
<PassengerName>sample string 8</PassengerName>
<Provider>sample string 9</Provider>
<RecordLocator>sample string 2</RecordLocator>
<StartingTicketNo>sample string 5</StartingTicketNo>
<TotalFare>7</TotalFare>
<VendorName>sample string 3</VendorName>
</InvoiceSearch>
</searchesResponse>
</InvoiceSearchResponse>