Bemovil
Contactar comercial
  • Languages
    • Español
      • Introducción API
      • Autenticación
      • Errores
      • Transacciones
        • Ejemplos
      • Productos
      • Reportes
      • Cargar saldo
    • English
      • API Introduction
      • Authentication
      • Errors
      • Transactions
        • Examples
      • Products
      • Reports
Con tecnología de GitBook
En esta página
  • Sell Queries
  • Service that returns all sales transactions within a specific date range.
  • Buy queries
  • Service that returns all purchases or balance loads within a specific date range.
  1. Languages
  2. English

Reports

Query the reports associated with transactions.

Sell Queries

Service that returns all sales transactions within a specific date range.

POST /api/v1/transactions/list

The service returns a maximum of 1,000 transactions.

Request Body

Name
Type
Description

data*

Object

Data field

data.dateStart

string

YYYY-MM-DD initial date range filter

data.dateEnd

string

YYYY-MM-DD initial date range filter

data.typeReport*

string

"sales" (indicates the sales report)

{
  "status": 200,
  "data": {
    "Transactions": [{
      "id": 1,
      "TransactionsStatus": {
        "id": 1,
        "name": "Exitoso"
      },
      "Product": {
        "id": 10000,
        "name": "Claro"
      },
      "amount": 2000,
      "createdAt": "2022-11-21 12:38:00"
    }]
  }
}

Buy queries

Service that returns all purchases or balance loads within a specific date range.

POST /api/v1/transactions/list

The service returns a maximum of 1,000 transactions.

Request Body

Name
Type
Description

data*

Object

Data field

data.typeReport

string

"buys" (fixed value indicating the purchases report)

data.dateStart

string

YYYY-MM-DD initial date range filter

data.dateEnd

string

YYYY-MM-DD initial date range filter

{
  "status": 200,
  "data": {
    "Transactions": [{
      "id": 1,
      "TransactionsStatus": {
        "id": 1,
        "name": "Exitoso"
      },
      "amount": 200000,
      "createdAt": "2022-11-21 12:38:00",
    }]
  }
}
AnteriorProducts

Última actualización hace 1 año