Description
...
Parameter | Data type | Description | |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
Request | Text | createToken | Mandatory |
...
Parameter | Data type | Description | |
ServiceDescription | Text | The description of the payment made | Mandatory |
ServiceType | Number | Service type number according to the options accepted from DPO | Mandatory |
ServiceDate | DateTime | Service date of the booked service | Mandatory |
ServiceFrom | Iata | 3 letters departure airport code | Optional |
ServiceTo | Iata | 3 letters destination airport code | Optional |
ServiceRef | Text | Service Reference | Optional |
...
Parameter | Data type | Description | Is Mandatory |
TicketType DocumentType DateIssued IATACarrierCode IATATravelAgencyNbr TicketCarrierName TicketIssuerCityName PassengerCount ConjTicketIndicator ElecTicketIndicator TicketNumber FlightLegDetails Travellers | Text Text DateTime Iata Iata Text Text Numeric Text Text Text XML (String) XML (String) | Ticket Type Document Type Date Issued IATA Carrier Code IATA Travel Agency Number Ticket Carrier Name Ticket Issuer City Name Number of Passengers Conjunction Ticket Indicator Electronic Ticket Indicator Exchanged/Original Ticket No or PNR Flight Leg Details Traveller Details | Optional Optional Mandatory Mandatory Optional Optional Optional Optional Optional Optional Mandatory Optional Optional |
Traveler Details Prams:
Parameter | Data type | Description | Is Mandatory |
TravelerFirstName | Text | First name | Mandatory |
TravelerLastName | Text | Last name | Mandatory |
TravelerPhone | Text | Phone number | Optional |
TravelerPhonePrefix | Numeric | Phone number prefix (without +) | Optional |
TravelerDateOfBirth | DateTime | Traveler Date Of Birth | Optional |
TravelerCountryCode | Text | Traveler Country Code | Optional |
Flight Leg Details Prams:
Parameter | Data type | Description | Is Mandatory |
FlightDescription | Text | The description of the payment made | Mandatory |
FlightType | Number | Service type number according to the options accepted from DPO | Mandatory |
FightDate | DateTime | Service date of the booked service | Mandatory |
FlightFrom | Iata | 3 letters departure airport code | Mandatory |
FightTo | Iata | 3 letters destination airport code | Mandatory |
FlightRef | Text | Service Reference | Optional |
CarrierCode | Iata | IATA carrier code | Mandatory |
ServiceClass | Text | Service Class | Mandatory |
FlightNumber | Text | Flight Number | Mandatory |
FareBasisCode | Text | Fare Basis Code | Mandatory |
StopOverCode | Text | Stop Over Code | Mandatory |
...
Code Block |
---|
<API3G>
<CompanyToken>90EC1DA4-A7C5-432C-930C-098715D3130E</CompanyToken>
<Request>createToken</Request>
<Transaction>
<PaymentAmount>3.00</PaymentAmount>
<PaymentCurrency>USD</PaymentCurrency>
<CompanyRef>tr11212bnbv</CompanyRef>
<CompanyRefUnique>0</CompanyRefUnique>
<PTL>100000</PTL>
<CompanyAccRef>www</CompanyAccRef>
<PTLtype>minutes</PTLtype>
<DefaultPayment>XP</DefaultPayment>
<AllowRecurrent></AllowRecurrent>
<customerFirstName>Dima</customerFirstName>
<customerLastName>Kyselov</customerLastName>
<customerCity>Nairobddi</customerCity>
<customerCountry>KE</customerCountry>
<CardHolderName>Dimdad Kyselovfd</CardHolderName>
<customerEmail>devdimatest@gmail.com</customerEmail>
<customerPhone>789564545</customerPhone>
<DefaultPaymentCountry>Israel</DefaultPaymentCountry>
</Transaction>
<Services>
<Service>
<ServiceType>6456</ServiceType>
<ServiceDescription>Airlines Service</ServiceDescription>
<ServiceDate>2020/05/12</ServiceDate>
</Service>
</Services>
<AdditionalAirlineFields>
<TicketType>TICKET_PURCHASE</TicketType>
<DocumentType>ADDITIONAL_COLLECTION</DocumentType>
<DateIssued>2013/12/20 19:00</DateIssued>
<IATACarrierCode>CPT</IATACarrierCode>
<IATATravelAgencyNbr>CPT</IATATravelAgencyNbr>
<TicketCarrierName>KenyaAirways</TicketCarrierName>
<TicketIssuerCityName >Tel Aviv</TicketIssuerCityName>
<PassengerCount>3</PassengerCount>
<ConjTicketIndicator>12233</ConjTicketIndicator>
<ElecTicketIndicator>1A848F</ElecTicketIndicator>
<ExchTicketIndicator>1A848E5</ExchTicketIndicator>
<FlightLegDetails>
<FlightLeg>
<FlightDescription>Flight from TLV </FlightDescription>
<FlightType>45</FlightType>
<FightDate>2013/12/20 19:00</FightDate>
<FlightFrom>TLV</FlightFrom>
<FightTo>CPT</FightTo>
<FlightRef>1234ABC</FlightRef>
<CarrierCode>1234</CarrierCode>
<ServiceClass>1A</ServiceClass>
<FlightNumber>1A848EF </FlightNumber>
<FareBasisCode>1</FareBasisCode>
<StopOverCode>1</StopOverCode>
</FlightLeg>
<FlightLeg>
<FlightDescription>Flight from CPT to TLV</FlightDescription>
<FlightType>45</FlightType>
<FightDate>2013/12/21 16:00</FightDate>
<FlightFrom>CPT</FlightFrom>
<FightTo>TLV</FightTo>
<FlightRef>1234ABC</FlightRef>
<CarrierCode>1234</CarrierCode>
<ServiceClass>1A</ServiceClass>
<FlightNumber>1A848EF</FlightNumber>
<FareBasisCode>1</FareBasisCode>
<StopOverCode>1</StopOverCode>
</FlightLeg>
</FlightLegDetails>
<Travelers>
<Traveler>
<TravelerFirstName>John</TravelerFirstName>
<TravelerLastName>Doe</TravelerLastName>
<TravelerPhone>456887014</TravelerPhone>
<TravelerPhonePrefix>123</TravelerPhonePrefix>
<TravelerDateOfBirth>2001/12/21</TravelerDateOfBirth>
<TravelerCountryCode>US</TravelerCountryCode>
</Traveler>
<Traveler>
<TravelerFirstName>Rose</TravelerFirstName>
<TravelerLastName>Doe</TravelerLastName>
</Traveler>
</Travelers>
</AdditionalAirlineFields>
</API3G> |
...