GET | /TicketRevenue/Company |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyID | query | int? | No | |
TravelAgentID | query | string | No | |
PlatingCarrier | query | string | No | |
DepartureDateStart | query | string | No | |
DepartureDateEnd | query | string | No | |
FlightCouponStatus | query | string | No | |
AirlineCode | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | query | string | No | Starting Record |
Limit | query | string | No | Number of records to return (PageSize) |
TotalRecords | query | string | No | Total Number of Records in a Full Reponse (if no paging) |
ResponseRecords | query | string | No | Total Number of Records in this Reponse (on this page) |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseMetadata | form | ResponseMetadata | No | |
ResponseReport | form | List<ApiRequestPerHour> | No | |
ResponseError | form | AgentivityError | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Success | form | bool | No | |
HasCache | form | bool | No | |
HasPaging | form | bool | No | |
CacheMetadata | form | CacheMetadata | No | |
PagingMetadata | form | PagingMetadata | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CachedAt | form | DateTime | No | |
CacheExpiresAt | form | DateTime | No | |
IsFromCache | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RequestDate | form | DateTime | No | |
Hour0 | form | int | No | |
Hour1 | form | int | No | |
Hour2 | form | int | No | |
Hour3 | form | int | No | |
Hour4 | form | int | No | |
Hour5 | form | int | No | |
Hour6 | form | int | No | |
Hour7 | form | int | No | |
Hour8 | form | int | No | |
Hour9 | form | int | No | |
Hour10 | form | int | No | |
Hour11 | form | int | No | |
Hour12 | form | int | No | |
Hour13 | form | int | No | |
Hour14 | form | int | No | |
Hour15 | form | int | No | |
Hour16 | form | int | No | |
Hour17 | form | int | No | |
Hour18 | form | int | No | |
Hour19 | form | int | No | |
Hour20 | form | int | No | |
Hour21 | form | int | No | |
Hour22 | form | int | No | |
Hour23 | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorCode | form | string | No | |
Message | form | string | No | |
StatusCode | form | string | No | |
VerboseMessage | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TktNumber | form | string | No | |
PlatingCarrier | form | string | No | |
RecordLocator | form | string | No | |
Consultant | form | string | No | |
Account | form | string | No | |
FOP | form | string | No | |
PrintedCurrency | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
PCC | form | string | No | |
TicketIssueDate | form | string | No | |
IATA | form | string | No | |
Revenue | form | decimal? | No | |
TicketTax | form | decimal? | No | |
TicketBaseFare | form | decimal? | No | |
Tax1Code | form | string | No | |
Tax1Amt | form | string | No | |
Tax2Code | form | string | No | |
Tax2Amt | form | string | No | |
Tax3Code | form | string | No | |
Tax3Amt | form | string | No | |
Tax4Code | form | string | No | |
Tax4Amt | form | string | No | |
Tax5Code | form | string | No | |
Tax5Amt | form | string | No | |
Passenger | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /TicketRevenue/Company HTTP/1.1 Host: api.agentivity.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <AgentivityResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="schemas.agentivity.com/types"> <ResponseMetadata> <Success>false</Success> <HasCache>false</HasCache> <HasPaging>false</HasPaging> <CacheMetadata> <IsFromCache>false</IsFromCache> <CachedAt>0001-01-01T00:00:00</CachedAt> <CacheExpiresAt>0001-01-01T00:00:00</CacheExpiresAt> </CacheMetadata> <PagingMetadata> <Limit>String</Limit> <Offset>String</Offset> <ResponseRecords>0</ResponseRecords> <TotalRecords>0</TotalRecords> </PagingMetadata> </ResponseMetadata> <ResponseReport> <AirlineTicketRevenue> <Account>String</Account> <Consultant>String</Consultant> <FOP>String</FOP> <FirstName>String</FirstName> <IATA>String</IATA> <LastName>String</LastName> <PCC>String</PCC> <Passenger>String</Passenger> <PlatingCarrier>String</PlatingCarrier> <PrintedCurrency>String</PrintedCurrency> <RecordLocator>String</RecordLocator> <Revenue>0</Revenue> <Tax1Amt>String</Tax1Amt> <Tax1Code>String</Tax1Code> <Tax2Amt>String</Tax2Amt> <Tax2Code>String</Tax2Code> <Tax3Amt>String</Tax3Amt> <Tax3Code>String</Tax3Code> <Tax4Amt>String</Tax4Amt> <Tax4Code>String</Tax4Code> <Tax5Amt>String</Tax5Amt> <Tax5Code>String</Tax5Code> <TicketBaseFare>0</TicketBaseFare> <TicketIssueDate>String</TicketIssueDate> <TicketTax>0</TicketTax> <TktNumber>String</TktNumber> </AirlineTicketRevenue> </ResponseReport> <ResponseError> <ErrorCode>String</ErrorCode> <Message>String</Message> <StatusCode>String</StatusCode> <VerboseMessage>String</VerboseMessage> </ResponseError> </AgentivityResponse>