Sabre 重新验证行程 4.3.0

问题描述 投票:0回答:1

如果航段的日期发生变化,您能帮我吗?任何改变 第二次航班日期变更

"Flight": [
            {
              "ClassOfService": "B",
              "Number": 2255,
              "DepartureDateTime": "2023-10-10T07:50:00",
              "ArrivalDateTime": "22023-10-10T11:50:00",
              "Type": "A",
              "OriginLocation": {
                "LocationCode": "JED"
              },
              "DestinationLocation": {
                "LocationCode": "DXB"
              },
              "Airline": {
                "Operating": "EK",
                "Marketing": "EK"
              }
            },
            {
              "ClassOfService": "B",
              "Number": 606,
              "DepartureDateTime": "2023-10-10T21:35:00",
              "ArrivalDateTime": "22023-10-11T00:50:00",
              
              "Type": "A",
              "OriginLocation": {
                "LocationCode": "DXB"
              },
              "DestinationLocation": {
                "LocationCode": "KHI"
              },
              "Airline": {
                "Operating": "EK",
                "Marketing": "EK"
              }
            }
          ],

我面临以下错误

"message": "{"OTA_AirLowFareSearchRS":{"PricedItinCount":0,"BrandedOneWayItinCount":0,"SimpleOneWayItinCount":0,"DepartedItinCount":0,"SoldOutItinCount":0,"AvailableItinCount":0,"版本":"4.3.0","Errors":{"Error":[{"Type":"ERR","ShortText":"架构验证失败","Code":"INVALIDREQ","content":"无效的请求。它不符合架构。 1839年 元素“{http://www.opentravel.org/OTA/2003/05}Flight”,属性“ArrivalDateTime”:[facet“pattern”]值“22023-10-10T03:45:00”不被接受模式 '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[ 0-9]{2})?'。 22023-10-10T03:45:00 [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9 ]{2})? 1839年 元素“{http://www.opentravel.org/OTA/2003/05}Flight”,属性“ArrivalDateTime”:[facet“pattern”]值“22023-10-10T11:30:00”不被接受模式 '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[ 0-9]{2})?'。 22023-10-10T11:30:00 [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9 ]{2})? 1839年 元素“{http://www.opentravel.org/OTA/2003/05}Flight”,属性“ArrivalDateTime”:[facet“pattern”]值“22023-10-10T11:50:00”不被接受模式 '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[ 0-9]{2})?'。 22023-10-10T11:50:00 [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9 ]{2})? 1839年 元素“{http://www.opentravel.org/OTA/2003/05}Flight”,属性“ArrivalDateTime”:[facet“pattern”]值“22023-10-10T00:50:00”不被接受模式 '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[ 0-9]{2})?'。 22023-10-10T00:50:00 [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9 ]{2})?"},{"类型":"SERVER","ShortText":"27131","代码":"GCB16-ISELL-TN-00-2023-09-01-LQJW","MessageClass ":"I","content":""},{"Type":"WORKERTHREAD","ShortText":"7203638827170603095","Code":"TRANSACTIONID","MessageClass":"I","content" :""},{"Type":"ERR","ShortText":"处理期间出错","Code":"ERR","content":""}]}},"Links":[{" rel":"self","href":"https://api.havail.sabre.com/v4.3.0/shop/flights/revalidate"},{"rel":"linkTemplate","href":" https://api.havail.sabre.com//shop/flights/revalidate?limit=&offset=&enabletagging="}]}"

sabre
1个回答
0
投票

答案在错误消息中,特别是这一点:

模式“[0-9]{4}-[0-9]{2}-[0-9]{2}T 不接受值“22023-10-10T03:45:00” [0-9]{2}:[0-9]{2}(:[0-9]{2})?'。 22023-10-10T03:45:00 [0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9 ]{2})? 1839年 元素“{http://www.opentravel.org/OTA/2003/05}航班”,属性“ArrivalDateTime

或者用简单的英语来说,名为

ArrivalDateTime
的字段包含一个具有 5 位数年份的日期时间,而年份预计仅为 4 位数。我猜这次飞行并不需要 2 万年 :-D

© www.soinside.com 2019 - 2024. All rights reserved.