Agentivity API

<back to all web services

TicketSegmentsWithTaxByIssueDate

The following routes are available for this service:
GET/TicketSegmentsWithTax
TicketSegmentsWithTaxByIssueDate Parameters:
NameParameterData TypeRequiredDescription
UserNamequerystringYesUserName in form of an email address
AccountquerystringNoComma Delimited List of Accounts
TicketIssueDateStartquerystringYesDate in format YYYYMMDD
TicketIssueDateEndquerystringYesDate in format YYYYMMDD
PagingMetadata Parameters:
NameParameterData TypeRequiredDescription
OffsetquerystringNoStarting Record
LimitquerystringNoNumber of records to return (PageSize)
TotalRecordsquerystringNoTotal Number of Records in a Full Reponse (if no paging)
ResponseRecordsquerystringNoTotal Number of Records in this Reponse (on this page)
CollectionResponse<TItem> Parameters:
NameParameterData TypeRequiredDescription
ResponseMetadataformResponseMetadataNo
ResponseReportformList<TItem>No
ResponseErrorformAgentivityErrorNo
ResponseMetadata Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
HasCacheformboolNo
HasPagingformboolNo
CacheMetadataformCacheMetadataNo
PagingMetadataformPagingMetadataNo
CacheMetadata Parameters:
NameParameterData TypeRequiredDescription
CachedAtformDateTimeNo
CacheExpiresAtformDateTimeNo
IsFromCacheformboolNo
AgentivityError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StatusCodeformstringNo
VerboseMessageformstringNo
TicketSegmentsWithTax Parameters:
NameParameterData TypeRequiredDescription
RecordlocatorformstringNo
PNRCreationDateformstringNo
TicketNumberformstringNo
AccountformstringNo
PrimaryPassengerformstringNo
VndIssueDateformstringNo
TravelAgentIDformstringNo
FOPFareformstringNo
FOPformstringNo
TotalTaxformstringNo
Tax1CodeformstringNo
Tax1AmtformstringNo
Tax2CodeformstringNo
Tax2AmtformstringNo
Tax3CodeformstringNo
Tax3AmtformstringNo
Tax4CodeformstringNo
Tax4AmtformstringNo
Tax5CodeformstringNo
Tax5AmtformstringNo
ExchangedForTicketformstringNo
CouponSequenceNbrformstringNo
CarrierformstringNo
BoardPointformstringNo
OffPointformstringNo
FlightDateformstringNo
FlightServiceClassformstringNo
FareBasisformstringNo
FlightCouponStatusformstringNo
DateLastCheckedformstringNo
OwningAgencyLocationIDformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET //TicketSegmentsWithTax HTTP/1.1 
Host: api.agentivity.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseMetadata":{"Success":false,"HasCache":false,"HasPaging":false,"CacheMetadata":{"IsFromCache":false,"CachedAt":"\/Date(-62135596800000-0000)\/","CacheExpiresAt":"\/Date(-62135596800000-0000)\/"},"PagingMetadata":{"Offset":"String","Limit":"String","TotalRecords":0,"ResponseRecords":0}},"ResponseReport":[{"Recordlocator":"String","PNRCreationDate":"String","TicketNumber":"String","Account":"String","PrimaryPassenger":"String","VndIssueDate":"String","TravelAgentID":"String","FOPFare":"String","FOP":"String","TotalTax":"String","Tax1Code":"String","Tax1Amt":"String","Tax2Code":"String","Tax2Amt":"String","Tax3Code":"String","Tax3Amt":"String","Tax4Code":"String","Tax4Amt":"String","Tax5Code":"String","Tax5Amt":"String","ExchangedForTicket":"String","CouponSequenceNbr":"String","Carrier":"String","BoardPoint":"String","OffPoint":"String","FlightDate":"String","FlightServiceClass":"String","FareBasis":"String","FlightCouponStatus":"String","DateLastChecked":"String","OwningAgencyLocationID":"String"}],"ResponseError":{"ErrorCode":"String","Message":"String","StatusCode":"String","VerboseMessage":"String"}}