Reports

Flights bank reconciliation

By default this report is empty. All the bookings that are issued will be added to the report automatically. This happens because when a reservations is issued, it is when we can read the "form of payment" line that the PNR has.

Get all reports

GET https://api.basset.ws/reports

{
    "reports": [
        "flights_bank_reconciliation"
    ]
}

Get report by name

GET https://api.basset.ws/reports/:name

Path Parameters

Name
Type
Description

name

string

Report name

{
    "report_type": "flights_bank_reconciliation",
    "client_id": "0a9vsje7-a307-42a2-ac06-736easfc417d",
    "report": [
        {
            "site": "AR",
            "channel": "WEB",
            "office_id": "BUEG1234U",
            "pnr": "NN8JOQ",
            "payment_type": "CC",
            "issue_date": "2018-05-12",
            "cc_brand": "VI",
            "cc_mask": "XXXXXXXXXXXX0012",
            "currency_code": "ARS",
            "total_amount": "1152.85",
            "auth_code": "A006328"
        }
    ]
}

Filtering response

Export report by name

GET https://api.basset.ws/reports/export/:name

Path Parameters

Name
Type
Description

name

string

Report name

Remember that you can export to CSV the report with the same query filters.

Last updated