Skip to content

Masking Personal Identifiable Information (PII) data

As part of GDPR support, Travlinq API masks the individual's personal sensitive information so that the log reading does not show PII information in the log files.

Travlinq API masks the values of PII attributes available in the request and response XMLs and JOSNs that appear in the log files. These attributes are replaced with the string *******.

Travlinq API log masking

Masked Attributes on Requests

Request Attributes Sample
Login userName
password
companyCode
Login Request
Flight Prov Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
cardInfo
Address


Flight Prov Book Request
Flight Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
cardInfo
Address
Flight Book Request
Flight Cancellation birthDate
givenName
middleName
surname
Flight Cancellation Request
Flight Re-Initiate birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
cardInfo
Address
Flight Re-Initiate Book Request
Flight Ancillary Book cardInfo
Address
Flight Ancillry Book Request
Flight Reissue Prov Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
cardInfo
Address
Flight Reissue Prov Book Request
Flight Reissue Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
cardInfo
Address
Flight Reissue Book Request
Hotel Book birthDate
givenName
middleName
surname
idDocumentNumber
accountNumber
postalAddress
emailAddress
phone
cardInfo
Address
Hotel Reissue Book Request
Car Book birthDate
givenName
middleName
surname
idDocumentNumber
accountNumber
emailAddress
phone
cardInfo
Address
Car Reissue Book Request

Login Request

1
2
3
4
5
"payload": {
    "userName": "******************",
    "password": "************",
    "companyCode": "*********"
}
Flight Prov Book/ Book/ Re-Initiate/ Reissue Prov Book/ Reissue Book Request
"payload": {
    "passengers":[
        {
            "passengerKey": "Test-1",
            "ptc": "ADT",
            "passengerInfo": {
                "birthDate": "**********",
                "gender": "M",
                "nameTitle": "Mr",
                "givenName": "*****",
                "middleName": "**",
                "surname": "******"
            },
            "identityDocuments": [
                {
                    "idDocumentNumber": "***********",
                    "idType": "PT",
                    "issuingCountryCode": "AE",
                    "residenceCountryCode": "AE",
                    "expiryDate": "2025-05-06"
                }
            ],
            "contact": {
                "postalAddress": {
                    "label": "********************",
                    "street": "*****************",
                    "postalCode": "******",
                    "cityName": "***",
                    "countryCode": "**"
                },
                "contactsProvided": [
                    {
                        "emailAddress":  "*************"
                        "phone": [
                            {
                                "label": "******",
                                "areaCode": "***",
                                "phoneNumber": "**********"
                            }
                        ]
                    }
                ]
            }

        }
    ],
    "paymentDetails": {
        "paymentMode": "CR",
        "transactionAmount": 0,
        "cardInfo": "",
        "address": {
            "label": "*******",
            "street": "*****************",
            "postalCode": "*******",
            "cityName": "***",
            "countryCode": "***"
        }
    }
}
Flight Cancellation Request
"payload": {
   "passengers":[
       {
            "passengerKey": "Test-1",
            "ptc": "ADT",
            "passengerInfo": {
                "birthDate": "**********",
                "gender": "M",
                "nameTitle": "Mr",
                "givenName": "*****",
                "middleName": "**",
                "surname": "******"
            }
       }
   ]
}
Ancillary Book Request
"payload": {
    "paymentDetails": {
        "paymentMode": "CR",
        "transactionAmount": 0,
        "cardInfo": "",
        "address": {
            "label": "*******",
            "street": "*****************",
            "postalCode": "*******",
            "cityName": "***",
            "countryCode": "***"
        }
    }
}
Hotel Book Request
"payload": {
   "rooms": [ 
        "passengers":[
            {
                "passengerKey": "Test-1",
                "ptc": "ADT",
                "passengerInfo": {
                    "birthDate": "**********",
                    "gender": "M",
                    "nameTitle": "Mr",
                    "givenName": "*****",
                    "middleName": "**",
                    "surname": "******"
                },
                "loyaltyProgramAccount": [
                    {
                        "accountNumber": "****",
                        "providerName": "test",
                        "tierCode": "test",
                        "programName": "test"
                    }
                ],
                "identityDocuments": [
                    {
                        "idDocumentNumber": "***********",
                        "idType": "PT",
                        "issuingCountryCode": "AE",
                        "residenceCountryCode": "AE",
                        "expiryDate": "2025-05-06"
                    }
                ],
                "contact": {
                    "postalAddress": {
                        "label": "********************",
                        "street": "*****************",
                        "postalCode": "******",
                        "cityName": "***",
                        "countryCode": "**"
                    },
                    "contactsProvided": [
                        {
                            "emailAddress": "*************"
                            "phone": [
                                {
                                    "label": "******",
                                    "areaCode": "***",
                                    "phoneNumber": "**********"
                                }
                            ]
                        }
                    ]
                }

            }
        ],
    ]
    "paymentDetails": {
        "paymentMode": "CR",
        "cardInfo": "",
        "address": {
            "label": "*******",
            "street": "*****************",
            "postalCode": "*******",
            "cityName": "***",
            "countryCode": "***"
        }
    }
}
Car Book Request
"payload": {
   "rooms": [ 
        "passengers":[
            {
                "passengerKey": "Test-1",
                "ptc": "ADT",
                "passengerInfo": {
                    "birthDate": "**********",
                    "gender": "M",
                    "nameTitle": "Mr",
                    "givenName": "*****",
                    "middleName": "**",
                    "surname": "******"
                },
                "loyaltyProgramAccount": [
                    {
                        "accountNumber": "****",
                        "providerName": "test",
                        "tierCode": "test",
                        "programName": "test"
                    }
                ],
                "identityDocuments": [
                    {
                        "idDocumentNumber": "***********",
                        "idType": "PT",
                        "issuingCountryCode": "AE",
                        "residenceCountryCode": "AE",
                        "expiryDate": "2025-05-06"
                    }
                ],
                "contact": {
                    "contactsProvided": [
                        {
                            "emailAddress": "*************",
                            "phone": [
                                {
                                    "label": "******",
                                    "areaCode": "***",
                                    "phoneNumber": "**********"
                                }
                            ]
                        }
                    ]
                }

            }
        ],
    ]
    "paymentDetails": {
        "paymentMode": "CR",
        "cardInfo": "",
        "address": {
            "label": "*******",
            "street": "*****************",
            "postalCode": "*******",
            "cityName": "***",
            "countryCode": "***"
        }
    }
}
Masked Attributes on Response

Request Attributes Sample
Flight Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
Flight Book Response
Flight Book Retrieve birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
Flight Book Retrieve Response
Flight Re-Initiate birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
Flight Book Re-Initiate Response
Flight Reissue Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
Flight Reissue Book Response
Hotel Book birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
accountNumber
Hotel Book Response
Hotel Book Retrieve birthDate
givenName
middleName
surname
idDocumentNumber
postalAddress
emailAddress
phone
accountNumber
Hotel Book Retrieve Response

Flight Book/ Retrieve/ Re-Initiate/ Reissue Book Response

{
    "data": [
        {
          "passengers": [
            {
              "passengerKey": "SH4H23B-1",
              "ptc": "ADT",
              "passengerInfo": {
                "gender": "M",
                "nameTitle": "Mr",
                "givenName": "*****",
                "surname": "******"
              },
              "identityDocuments": [
                {
                  "idDocumentNumber": "*********",
                  "idType": "PT",
                  "issuingCountryCode": "AE",
                  "residenceCountryCode": "AE",
                  "expiryDate": "2025-05-06"
                }
              ],
              "contact": {
                "postalAddress": {
                    "label": "********************",
                    "street": "*****************",
                    "postalCode": "******",
                    "cityName": "***",
                    "countryCode": "**"
                },
                "contactsProvided": [
                  {
                    "emailAddress": "*************"

                    "phone": [
                      {
                        "label": "******",
                        "areaCode": "***",
                        "phoneNumber": "**********"
                      }
                    ]
                  }
                ]
              }
            }
          ]  
        }
    ]
} 
Hotel Book/ Retrieve Response
{
  "passengers": [
    {
      "passengerKey": "1",
      "isLead": true,
      "ptc": "ADT",
      "roomIndex": 1,
      "combId": "605468d722722a-acc0-4025-b2e5-f409b6a452ae40htr00000000rcmb00000000",
      "passengerInfo": {
        "birthDate": "**********",
        "gender": "Male",
        "nameTitle": "DR",
        "givenName": "*****",
        "middleName": "*****",
        "surname": "***"
      },
      "loyaltyProgramAccount": [
            {
              "providerName": "Avios",
              "accountNumber": ******,
              "tierCode": "GOLD"
            },
            {
              "airlineDesignator": "BA",
              "programName": "On Business",
              "accountNumber": "******"
            }
      ],
      "identityDocuments": [
        {
          "idDocumentNumber": "*******",
          "idType": "PAN",
          "isCorporatePAN": false
        }
      ],
      "contact": {
        "postalAddress": {
          "label": "********************",
            "street":"*****************"
            ,
            "postalCode": "******",
            "cityName": "***",
            "countryCode": "**"
        },
        "contactsProvided": [
          {
            "emailAddress": "************",
            "phone": [
              {
                "label": "*****",
                "areaCode": *****,
                "phoneNumber": ************
              }
            ]
          }
        ]
      },
      "hotelRequests": {
        "ssr": [
          {
            "text": "COT required"
          }
        ]
      },
      "additionalProperties": [
        {
          "key": "key1",
          "value": "value1",
          "description": "description"
        },
        {
          "key": "key1",
          "value": "value1",
          "description": "description"
        }
      ]
    }
  ]
}

Supplier log masking