API - TDesk
    • Autenticação
      • Authenticate
        POST
    • Vendas
      • CreateDate
        GET
      • LastDate
        GET
      • ID
        GET
      • Esquemas
        • Order

    Order

    {
        "ID": 0,
        "CreatedDateTime": "2019-08-24T14:15:22.123Z",
        "CheckInDateTime": "2019-08-24T14:15:22.123Z",
        "CheckOutDateTime": "2019-08-24T14:15:22.123Z",
        "IssueDateTime": "2019-08-24T14:15:22.123Z",
        "LastUpdateDateTime": "2019-08-24T14:15:22.123Z",
        "Status": 0,
        "Requester": "string",
        "Agency": {
            "ID": 0,
            "Name": "string",
            "LegalName": "string",
            "Document": "string",
            "Address": "string",
            "Address2": "string",
            "Number": "string",
            "District": "string",
            "City": "string",
            "State": "string",
            "Country": "string",
            "LocationID": 0
        },
        "Attendant": {
            "ID": 0,
            "Name": "string"
        },
        "AgencyRef": "string",
        "Category": "string",
        "Services": [
            {
                "ID": 0,
                "Description": "string",
                "Information": "string",
                "ProductType": "string",
                "ProductName": "string",
                "AdtQty": 0,
                "ChdQty": 0,
                "InfQty": 0,
                "CheckIn": "string",
                "CheckOut": "string",
                "ResDeadline": "string",
                "CldDeadline": "string",
                "CldPenalty": "string",
                "ConfirmationNumber": "string",
                "Status": 0,
                "Supplier": {
                    "ID": 0,
                    "Name": "string",
                    "LegalName": "string",
                    "Document": "string",
                    "Address": "string",
                    "Address2": "string",
                    "Number": "string",
                    "District": "string",
                    "City": "string",
                    "State": "string",
                    "Country": "string",
                    "LocationID": 0
                },
                "Distributor": {
                    "ID": 0,
                    "Name": "string",
                    "LegalName": "string",
                    "Document": "string",
                    "Address": "string",
                    "Address2": "string",
                    "Number": "string",
                    "District": "string",
                    "City": "string",
                    "State": "string",
                    "Country": "string",
                    "LocationID": 0
                },
                "Paxs": [
                    {
                        "PaxType": 0,
                        "FirstName": "string",
                        "LastName": "string",
                        "RateType": 0,
                        "PaxQty": 0,
                        "ServicePaxQty": 0,
                        "SaleAmounts": {
                            "Currency": "string",
                            "ExchangeRate": 0,
                            "Rate": 0,
                            "EquivalentRate": 0,
                            "Fee": 0,
                            "AgentTax": 0,
                            "AdmAgentTax": 0,
                            "AirportTax": 0,
                            "ServiceTax": 0,
                            "Penalty": 0,
                            "Discount": 0,
                            "Issqn": 0,
                            "Kandir": 0,
                            "Commission": 0,
                            "Incentive": 0
                        },
                        "CostAmounts": {
                            "Currency": "string",
                            "ExchangeRate": 0,
                            "Rate": 0,
                            "EquivalentRate": 0,
                            "Fee": 0,
                            "AgentTax": 0,
                            "AdmAgentTax": 0,
                            "AirportTax": 0,
                            "ServiceTax": 0,
                            "Penalty": 0,
                            "Discount": 0,
                            "Issqn": 0,
                            "Kandir": 0,
                            "Commission": 0,
                            "Incentive": 0
                        }
                    }
                ],
                "Flights": [
                    {
                        "CarrierCode": "string",
                        "FlightNumber": "string",
                        "BookingClass": "string",
                        "DepartureDateTime": "string",
                        "ArrivalDateTime": "string",
                        "DepartureAirportCode": "string",
                        "ArrivalAirportCode": "string",
                        "CarrierRef": "string"
                    }
                ]
            }
        ],
        "Payments": [
            {
                "Document": "string",
                "Date": "2019-08-24T14:15:22.123Z",
                "Method": "string",
                "Amount": 0,
                "CommissionRetained": 0,
                "Installments": 0,
                "CreditCard": {
                    "Number": "string",
                    "Holder": "string"
                }
            }
        ]
    }
    Built with