POST /api/PIM/Consulta

Realize uma consulta avançada para obter uma lista de demandas de serviço com base em critérios específicos, auxiliando na análise de dados.

Headers

  • Content-Type string
  • ebbesenviroment string Required

Body

object object

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • items array[object]
      Hide items attributes Show items attributes array[object]
      • id integer
      • pim string
      • urlPublicaPrazo integer
      • urlPublica string
      • pimPrincipal string
      • conjuntoParte string
      • idStatusDemanda integer
      • statusCorDemanda string
      • placaDoCarro string
      • statusIsCancelavel boolean
      • etapaAtual integer
      • plano string
      • certificado string
      • etapaAtualDescricao string
      • statusDemanda string
      • meioDePagamento string
      • idServico integer
      • servico string
      • score number
      • idProduto integer
      • produtoNumReferencia string
      • produtoDescricao string
      • turno string
      • valorAReceber number
      • valorNota number
      • valorServico number
      • valorPlataforma number
      • valorTecnico number
      • valorPrestador number
      • valorComissionado number
      • percentualComissao number
      • percentualTecnico number
      • percentualPrestador number
      • valorTaxaDeslocamento number
      • valorAdicional number
      • statusGroup integer
      • tecnico string
      • origemDemanda integer
      • origemDemandaDesc string
      • pagamentoStatus integer
      • pagamentoStatusDescricao string
      • pagamentoStatusDesc string
      • pagamentoTransactionCode string
      • linkPagamento string
      • dataAgendamento string(date-time)
      • dataConclusao string(date-time)
      • numPrioridade integer
      • idVarejista string
      • idPrestadora string
      • idCliente string
      • clienteNome string
      • clienteEmail string
      • clienteCelular string
      • idTecnico string
      • createdAt string(date-time)
      • updatedAt string(date-time)
      • localInstalacao string
      • endereco string
      • enderecoComplemento string
      • enderecoNumero string
      • enderecoBairro string
      • enderecoCidade string
      • enderecoCEP string
      • enderecoUF string
      • enderecoLatitude number
      • enderecoLongitude number
      • tempoTotalExecucaoSegundos number
      • idFaturamento string
      • noFatura string
      • dataFaturamento string(date-time)
      • tipoAtividade string
      • _links object
        Hide _links attribute Show _links attribute object
        • self object
          Hide self attributes Show self attributes object
          • rel string
          • href string
          • method string
    • _links object
      Hide _links attribute Show _links attribute object
      • self object
        Hide self attributes Show self attributes object
        • rel string
        • href string
        • method string
POST /api/PIM/Consulta
curl \
 -X POST https://api.e-bees.com.br/api/PIM/Consulta \
 -H "Content-Type: application/json" \
 -H "ebbesenviroment: https://sandbox.e-bees.com.br" \
 -d '{"emailCliente":"\u003cstring\u003e","pimPrincipal":"\u003cstring\u003e","urlPublica":"\u003cstring\u003e","status":"\u003cinteger\u003e","placaDoCarro":"\u003cstring\u003e","statusList":[1,1],"dataAgendamentoStart":"\u003cdateTime\u003e","dataAgendamentoEnd":"\u003cdateTime\u003e","dataCriacaooStart":"\u003cdateTime\u003e","dataCriacaoEnd":"\u003cdateTime\u003e","page":"\u003cinteger\u003e","pagesize":"\u003cinteger\u003e"}'
Request example
# Headers
Content-Type: application/json
ebbesenviroment: https://sandbox.e-bees.com.br

# Payload
{
  "emailCliente": "<string>",
  "pimPrincipal": "<string>",
  "urlPublica": "<string>",
  "status": "<integer>",
  "placaDoCarro": "<string>",
  "statusList": [
    1,
    1
  ],
  "dataAgendamentoStart": "<dateTime>",
  "dataAgendamentoEnd": "<dateTime>",
  "dataCriacaooStart": "<dateTime>",
  "dataCriacaoEnd": "<dateTime>",
  "page": "<integer>",
  "pagesize": "<integer>"
}
Request examples
# Headers
Content-Type: application/json
ebbesenviroment: https://sandbox.e-bees.com.br

# Payload
{
  "page": "<integer>",
  "status": "<integer>",
  "pagesize": "<integer>",
  "statusList": [
    1,
    1
  ],
  "urlPublica": "<string>",
  "emailCliente": "<string>",
  "pimPrincipal": "<string>",
  "placaDoCarro": "<string>",
  "dataCriacaoEnd": "<dateTime>",
  "dataCriacaooStart": "<dateTime>",
  "dataAgendamentoEnd": "<dateTime>",
  "dataAgendamentoStart": "<dateTime>"
}
Response examples (200)
{
  "items": [
    {
      "id": 89,
      "pim": "0081 ",
      "urlPublicaPrazo": 3,
      "urlPublica": "126a042b",
      "pimPrincipal": null,
      "conjuntoParte": null,
      "idStatusDemanda": 0,
      "statusCorDemanda": "#FFB64B",
      "placaDoCarro": null,
      "statusIsCancelavel": true,
      "etapaAtual": 0,
      "plano": null,
      "certificado": null,
      "etapaAtualDescricao": "Recebida",
      "statusDemanda": "Aguardando Liberação BackOffice",
      "meioDePagamento": null,
      "idServico": 1,
      "servico": "Montagem de Móveis",
      "score": 0.0,
      "idProduto": 69,
      "produtoNumReferencia": "69",
      "produtoDescricao": "Armário Aéreo de 1 porta",
      "turno": "Manhã",
      "valorAReceber": 0.0,
      "valorNota": 100.0,
      "valorServico": 0.0,
      "valorPlataforma": 20.0,
      "valorTecnico": 70.0,
      "valorPrestador": 10.0,
      "valorComissionado": 0.0,
      "percentualComissao": 0.2,
      "percentualTecnico": 0.7,
      "percentualPrestador": 0.1,
      "valorTaxaDeslocamento": 0.0,
      "valorAdicional": null,
      "statusGroup": 4,
      "tecnico": "",
      "origemDemanda": 2,
      "origemDemandaDesc": "B2C",
      "pagamentoStatus": 1,
      "pagamentoStatusDescricao": "Aguardando_Pagamento",
      "pagamentoStatusDesc": "Aguardando_Pagamento",
      "pagamentoTransactionCode": "51FA0581ABABAF3BB4C0CF9E7136B2E2",
      "linkPagamento": "https://pagseguro.uol.com.br/v2/checkout/payment.html?code=51FA0581ABABAF3BB4C0CF9E7136B2E2",
      "dataAgendamento": "2023-08-08T03:00:00",
      "dataConclusao": "0001-01-01T00:00:00",
      "numPrioridade": 0,
      "idVarejista": "ee0b1f86-1f9e-41b2-b115-329a5a184da5",
      "idPrestadora": "bae1ac72-e571-4bfa-a359-c8b7fcca6608",
      "idCliente": "f6ed4166-0a8f-4b32-8208-e48705fc519a",
      "clienteNome": "Vitor Pessoa",
      "clienteEmail": "vitor@e-bees.com.br",
      "clienteCelular": "6198547654",
      "idTecnico": null,
      "createdAt": "2023-08-07T22:19:32.863978",
      "updatedAt": "2023-08-07T22:19:32.863984",
      "localInstalacao": null,
      "endereco": "SQNW 107",
      "enderecoComplemento": "Apto 404",
      "enderecoNumero": "S/N",
      "enderecoBairro": null,
      "enderecoCidade": "USia",
      "enderecoCEP": "70686747",
      "enderecoUF": "DF",
      "enderecoLatitude": -15.79752,
      "enderecoLongitude": -47.89189,
      "tempoTotalExecucaoSegundos": 3600.0,
      "idFaturamento": "c1c99d0e-6c97-44bb-99a3-83c5734b2756",
      "noFatura": "0",
      "dataFaturamento": "2022-03-12T22:29:51.147",
      "tipoAtividade": "Montagem",
      "_links": {
        "self": {
          "rel": "PIM/GetAllPIMs",
          "href": "http://api.e-bees.com.br/api/PIM/Consulta",
          "method": "POST"
        }
      }
    },
    {
      "id": 88,
      "pim": "0080 ",
      "urlPublicaPrazo": 3,
      "urlPublica": "f03e3aa2",
      "pimPrincipal": null,
      "conjuntoParte": null,
      "idStatusDemanda": 0,
      "statusCorDemanda": "#FFB64B",
      "placaDoCarro": null,
      "statusIsCancelavel": true,
      "etapaAtual": 0,
      "plano": null,
      "certificado": null,
      "etapaAtualDescricao": "Recebida",
      "statusDemanda": "Aguardando Liberação BackOffice",
      "meioDePagamento": null,
      "idServico": 1,
      "servico": "Montagem de Móveis",
      "score": 0.0,
      "idProduto": 69,
      "produtoNumReferencia": "69",
      "produtoDescricao": "Armário Aéreo de 1 porta",
      "turno": "Manhã",
      "valorAReceber": 0.0,
      "valorNota": 100.0,
      "valorServico": 0.0,
      "valorPlataforma": 20.0,
      "valorTecnico": 70.0,
      "valorPrestador": 10.0,
      "valorComissionado": 0.0,
      "percentualComissao": 0.2,
      "percentualTecnico": 0.7,
      "percentualPrestador": 0.1,
      "valorTaxaDeslocamento": 0.0,
      "valorAdicional": null,
      "statusGroup": 4,
      "tecnico": "",
      "origemDemanda": 2,
      "origemDemandaDesc": "B2C",
      "pagamentoStatus": 1,
      "pagamentoStatusDescricao": "Aguardando_Pagamento",
      "pagamentoStatusDesc": "Aguardando_Pagamento",
      "pagamentoTransactionCode": "516AF9996060888DD4D26FA828807F06",
      "linkPagamento": "https://pagseguro.uol.com.br/v2/checkout/payment.html?code=516AF9996060888DD4D26FA828807F06",
      "dataAgendamento": "2023-08-08T03:00:00",
      "dataConclusao": "0001-01-01T00:00:00",
      "numPrioridade": 0,
      "idVarejista": "ee0b1f86-1f9e-41b2-b115-329a5a184da5",
      "idPrestadora": "bae1ac72-e571-4bfa-a359-c8b7fcca6608",
      "idCliente": "f6ed4166-0a8f-4b32-8208-e48705fc519a",
      "clienteNome": "Vitor Pessoa",
      "clienteEmail": "vitor@e-bees.com.br",
      "clienteCelular": "6198547654",
      "idTecnico": null,
      "createdAt": "2023-08-07T22:10:48.014422",
      "updatedAt": "2023-08-07T22:10:48.01445",
      "localInstalacao": null,
      "endereco": "SQNW 107",
      "enderecoComplemento": "Apto 404",
      "enderecoNumero": "S/N",
      "enderecoBairro": null,
      "enderecoCidade": "USia",
      "enderecoCEP": "70686747",
      "enderecoUF": "DF",
      "enderecoLatitude": -15.79752,
      "enderecoLongitude": -47.89189,
      "tempoTotalExecucaoSegundos": 3600.0,
      "idFaturamento": "c1c99d0e-6c97-44bb-99a3-83c5734b2756",
      "noFatura": "0",
      "dataFaturamento": "2022-03-12T22:29:51.147",
      "tipoAtividade": "Montagem",
      "_links": {
        "self": {
          "rel": "PIM/GetAllPIMs",
          "href": "http://api.e-bees.com.br/api/PIM/Consulta",
          "method": "POST"
        }
      }
    }
  ],
  "_links": {
    "self": {
      "rel": "PIM/GetAllPIMs",
      "href": "http://api.e-bees.com.br/api/PIM/Consulta",
      "method": "POST"
    }
  }
}
Response examples (200)
{
  "items": [
    {
      "id": 42,
      "pim": "string",
      "urlPublicaPrazo": 42,
      "urlPublica": "string",
      "pimPrincipal": "string",
      "conjuntoParte": "string",
      "idStatusDemanda": 42,
      "statusCorDemanda": "string",
      "placaDoCarro": "string",
      "statusIsCancelavel": true,
      "etapaAtual": 42,
      "plano": "string",
      "certificado": "string",
      "etapaAtualDescricao": "string",
      "statusDemanda": "string",
      "meioDePagamento": "string",
      "idServico": 42,
      "servico": "string",
      "score": 42.0,
      "idProduto": 42,
      "produtoNumReferencia": "string",
      "produtoDescricao": "string",
      "turno": "string",
      "valorAReceber": 42.0,
      "valorNota": 42.0,
      "valorServico": 42.0,
      "valorPlataforma": 42.0,
      "valorTecnico": 42.0,
      "valorPrestador": 42.0,
      "valorComissionado": 42.0,
      "percentualComissao": 42.0,
      "percentualTecnico": 42.0,
      "percentualPrestador": 42.0,
      "valorTaxaDeslocamento": 42.0,
      "valorAdicional": 42.0,
      "statusGroup": 42,
      "tecnico": "string",
      "origemDemanda": 42,
      "origemDemandaDesc": "string",
      "pagamentoStatus": 42,
      "pagamentoStatusDescricao": "string",
      "pagamentoStatusDesc": "string",
      "pagamentoTransactionCode": "string",
      "linkPagamento": "string",
      "dataAgendamento": "2025-05-04T09:42:00Z",
      "dataConclusao": "2025-05-04T09:42:00Z",
      "numPrioridade": 42,
      "idVarejista": "string",
      "idPrestadora": "string",
      "idCliente": "string",
      "clienteNome": "string",
      "clienteEmail": "string",
      "clienteCelular": "string",
      "idTecnico": "string",
      "createdAt": "2025-05-04T09:42:00Z",
      "updatedAt": "2025-05-04T09:42:00Z",
      "localInstalacao": "string",
      "endereco": "string",
      "enderecoComplemento": "string",
      "enderecoNumero": "string",
      "enderecoBairro": "string",
      "enderecoCidade": "string",
      "enderecoCEP": "string",
      "enderecoUF": "string",
      "enderecoLatitude": 42.0,
      "enderecoLongitude": 42.0,
      "tempoTotalExecucaoSegundos": 42.0,
      "idFaturamento": "string",
      "noFatura": "string",
      "dataFaturamento": "2025-05-04T09:42:00Z",
      "tipoAtividade": "string",
      "_links": {
        "self": {
          "rel": "PIM/GetAllPIMs",
          "href": "http://api.e-bees.com.br/api/PIM/Consulta",
          "method": "POST"
        }
      }
    }
  ],
  "_links": {
    "self": {
      "rel": "PIM/GetAllPIMs",
      "href": "http://api.e-bees.com.br/api/PIM/Consulta",
      "method": "POST"
    }
  }
}