如何分析艾玛迪斯机票文件 [英] How to parse Amadeus air ticket file

查看:348
本文介绍了如何分析艾玛迪斯机票文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

艾玛迪斯产生AIR文件中包含了每一个航班预订。 我需要从该文件读取预约号源和目的地机场。

Amadeus produces AIR file like below for every flight reservation. I need to read reservation number and source and destination airports from this file.

我搜索谷歌的莫扎特传空中格式,但还没有找到格式描述。 有关EDIFACT维基百科条目是一个有点不同,它并没有描述这些内容。

I searched Google for "Amadeus air format" but haven't found format description. Wikipedia entry about EDIFACt is a bit different, it does not describe this content.

在哪里可以找到有关该文件的结构信息? 如何分析这个文件? 我不知道关于该文件的结构,它包含像SQL表的记录或者是类似的PostScript文件中的一些预留协议的指令?

Where to find information about the file structure ? How to parse this file ? I have not idea about the file structure, does it contain records like SQL table or is it some reservation protocol instructions like postscript file ?

应用程序应该在微软Windows和preferably在Visual FoxPro中或C#语言。 FoxPro中或Microsoft Visual Studio 2012例preSS可以作为编程环境中使用

Application should work in Microsoft Windows and preferably in Visual FoxPro or C# language. FoxPro or Microsoft Visual Studio 2012 Express can used as programming environment

谷歌只返回Amadeus的用户指南和教程像评论和

Google returns only Amadeus users guides and tutorials like in comment and in

http://www.amadeusschweiz.com/en/documentation/usermanuals.html

这些都是用户手册。最有前途看起来艾玛迪斯航空用户指南从这样的:

Those are user manuals. Most promising looks Amadeus Air user guide from this:

这是我收到的名​​字是air.txt并在文件中第一个标记文件是AIR-BLK206 也许BLK206一些预定的格式描述符。谷歌返回一些 documens像我使用这个所以它看起来是常用的。

File which I received name was air.txt and first token in file is AIR-BLK206 Maybe BLK206 is some booking format descriptor. Google returns some documens like my using this so it looks like it is commonly used.

此文件可能描述了如何保留门票,产生air.​​txt文件。

This file probably describes how to reserve ticket, which produces air.txt file.

我seacrched的BLK这和订票用户指南,但那些没有包含这个缩写。

I seacrched this and ticket user guide for BLK but those do not contains this abbreviation.

命令在用户手册看起来比那些从该文件中的不同。 如何使用此信息来提取预约号和目的地机场 从这个文件? 我还没有找到格式描述使用谷歌。有Amadeus的用户指南,教程和快速参考文件相似的,你贴,但我不知道如何使用它们来分析这个文件。

Commands in user manual look different than those from this file. How to use this information to extract reservation number and destination airport from this file ? I haven't found format description using Google. There are Amadeus user guides, tutorials and quick reference files similar which you posted but I don't understand how to use them to parse this file.

一个消息描述,这是EDIFACT的形式。但是EDIFACT报文 在维基百科的样品也不同。 我需要建立快速原型,以客户这说明我们VCAN读取这些文件。

One message describes that this is form of EDIFACT. However EDIFACT message sample in Wikipedia is also different. I need to create quick prototype to customer which shows that we vćan read those files.

也许有一些程序,可用于人类可读的形式显示呢?

Maybe there are some programs which can used to display it in human readable form ?

推荐答案

您应该考虑联系当地的Amadeus的支持帮助,对此。他们提供身边,你需要知道pretty的太多一切优秀的文档。

You should consider contacting your local Amadeus Support for help regarding this. They offer excellent documentation around pretty much everything you need to know.

我100%肯定你看不居然是EDIFACT什么。 EDIFACT是非常分隔的加号(+)和分号(;)。

I'm 100% sure that what you're looking at not actually is EDIFACT. EDIFACT is very much delimited with pluses (+) and semicolon (;).

这个例子实际上看起来更像一个屏幕截图从艾玛迪斯销售平台与空间用分号代替(;)。这是最有可能在艾玛迪斯接口记录格式的文件。

The example actually looks a lot more like a screen capture from the Amadeus Selling Platform with spaces replaced by semicolon(;). It's most likely a file in the Amadeus Interface Record format.

此外,解析这个文件需要你了解艾玛迪斯全球分销系统是如何工作的一个很大。而这不是很容易。一个机票预订可能看起来像一件微不足道的小事,但它是一个非常复杂的世界由一种奇特的方式来处理事情。

Also, parsing this file require you to know a great deal about how the Amadeus GDS works. And that's not very easy. A flight booking might seem like a trivial thing but it's a very complex world made up of strange ways to handle things.

下面是产品单证(不包括规格) http://www.amadeus.com/ travelagencies / x52025.html

Here is the product documentations (not including specifications) http://www.amadeus.com/travelagencies/x52025.html

考虑找当地销售办事处 http://www.amadeus.com/

Consider looking for your local sales office at http://www.amadeus.com/

这篇关于如何分析艾玛迪斯机票文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆