Issue with CreatePassengerNameRecord API

39 Views Asked by At

I'm passing the correct Amountspecified value (603.53) to CreatePNR API but as response I'm getting below error. I'm attaching the AirPrice array which I have received from the CreatePassengerNameRecord API response.

{
            "type": "BusinessLogic",
            "timeStamp": "2024-02-29T08:52:02.818Z",
            "SystemSpecificResults": [
              {
                "Message": [
                  {
                    "code": "WARN.SP.BUSINESS_ERROR",
                    "content": "EnhancedAirBookRQ: Price comparison AmountReturned \"603.53\" is over the specified limit for .../OTA_AirPriceRQ[1]/PriceComparison"
                  }
                ]
              }
            ]
          }
"AirPrice": [
        {
          "PriceComparison": {
            "AmountReturned": "603.53",
            "AmountSpecified": "603.52999999999997"
          },
         
        }
      ]

Anyone know that why Amountspecified value displays as decimal value in PNR response?

enter image description here

0

There are 0 best solutions below