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

CreateDate

GET
/api/v1.0/orders/createdate/{dt}
Retorna as vendas, serviços, pagamentos, por data de criação da venda. Lembrar que em uma mesma venda, podem haver serviços e pagamentos criados em datas distintas. Recomenda-se utilizar o método LastDate.

Requisição

Authorization
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.
Exemplo:
Authorization: Bearer ********************
Parâmetros de Caminho

Respostas

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1.0/orders/createdate/2025-09-25' \
--header 'Authorization: Bearer <token>'
Response Response Example
[
    {
        "ID": 331308,
        "CreatedDateTime": "2023-10-19T11:38:00",
        "CheckInDateTime": "2025-12-20T00:00:00",
        "CheckOutDateTime": "2025-12-21T00:00:00",
        "IssueDateTime": "2026-03-03T16:21:00",
        "LastUpdateDateTime": "2026-09-03T17:09:21.027",
        "Status": 1,
        "Agency": {
            "ID": 133340,
            "Name": "AGENCIA SÃO PAULO",
            "LegalName": "Agencia São Paulo Ltda-Teste",
            "Document": "11111111000111",
            "Address": "Avenida Paulista",
            "Address2": "",
            "Number": "1",
            "District": "Bela Vista",
            "City": "São Paulo",
            "State": "SP",
            "Country": "Brasil",
            "LocationID": 16842
        },
        "Attendant": {
            "ID": 176,
            "Name": "Ana Alevato"
        },
        "AgencyRef": "testes equipe inline",
        "Category": "Normal (NOR)",
        "Services": [
            {
                "ID": 619411,
                "Description": "1 x Duplo Solteiro ( camas não juntam )",
                "Information": "",
                "ProductType": "Hotel",
                "ProductName": "Hotel nacional online",
                "AdtQty": 2,
                "ChdQty": 0,
                "InfQty": 0,
                "CheckIn": "2026-10-23T00:00:00",
                "CheckOut": "2026-10-27T00:00:00",
                "ResDeadline": "2026-10-09T00:00:00",
                "CldDeadline": "2026-10-09T00:00:00",
                "CldPenalty": "",
                "ConfirmationNumber": "5724350",
                "Status": 3,
                "Supplier": {
                    "ID": 0,
                    "Name": "HOTEL ROSENBROCK",
                    "LegalName": "",
                    "Document": "",
                    "Address": "R. Holanda, 195",
                    "Address2": "",
                    "Number": "",
                    "District": "",
                    "City": "Balneário Camboriú",
                    "State": "SC",
                    "Country": "Brasil",
                    "LocationID": 15533
                },
                "Distributor": {
                    "ID": 1,
                    "Name": "Viagens Abreu",
                    "LegalName": "Viagens Abreu",
                    "Document": "500297177",
                    "Address": "",
                    "Address2": "",
                    "Number": "",
                    "District": "",
                    "City": "Lisboa",
                    "State": "",
                    "Country": " Portugal",
                    "LocationID": 4783
                },
                "Paxs": [
                    {
                        "PaxType": 0,
                        "FirstName": "RODRIGO",
                        "LastName": "FARIA",
                        "RateType": 1,
                        "PaxQty": 1,
                        "ServicePaxQty": 2,
                        "SaleAmounts": {
                            "ReferenceCurrency": "",
                            "ReferenceRate": 0.00,
                            "ReferenceExchangeRate": 0.0000,
                            "Currency": "BRL",
                            "Rate": 1419.50,
                            "EquivalentRate": 1419.50,
                            "ExchangeRate": 1.0000,
                            "Fee": 0.00,
                            "AgentTax": 0.00,
                            "AdmAgentTax": 0.00,
                            "AirportTax": 0.00,
                            "ServiceTax": 0.00,
                            "Penalty": 0.00,
                            "Discount": 0.00,
                            "Issqn": 0.00,
                            "Kandir": 0.00,
                            "Commission": 170.34,
                            "Incentive": 0.00
                        },
                        "CostAmounts": {
                            "ReferenceCurrency": "",
                            "ReferenceRate": 0.00,
                            "ReferenceExchangeRate": 0.0000,
                            "Currency": "BRL",
                            "Rate": 1419.50,
                            "EquivalentRate": 1419.50,
                            "ExchangeRate": 1.0000,
                            "Fee": 0.00,
                            "AgentTax": 0.00,
                            "AdmAgentTax": 0.00,
                            "AirportTax": 0.00,
                            "ServiceTax": 0.00,
                            "Penalty": 0.00,
                            "Discount": 0.00,
                            "Issqn": 0.00,
                            "Kandir": 0.00,
                            "Commission": 326.48,
                            "Incentive": 0.00
                        }
                    },
                    {
    
Modificado em 2026-09-14 12:12:22
Página anterior
Authenticate
Próxima página
LastDate
Built with