A3ERP API
English
English
  • Quick Start
    • Initial configuration
    • Installation
  • Versions
  • Documentation
    • API Reference
      • Api
      • Validation
      • Email
      • Master
        • Parameters
      • Document
        • Parameters
      • Various
      • Stock movements
      • Stock Reserves
      • Expeditions
      • Links
      • Stock
      • Portfolio
      • Prices
      • Stored Procedures
      • View
      • Listing
      • FastReport
      • Download Files
      • List Linked Folders
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. Documentation
  2. API Reference

Download Files

Downloading files from the API server

AnteriorFastReportSiguienteList Linked Folders

Última actualización hace 2 años

¿Te fue útil?

GET calls

File download

get

This endpoint allows you to download a file from the server where the API is hosted from a specified path. The character \ must be replaced by %5C.

Example:

https://server:5555/api/descargaficheros/C:%5Cinfo_para_doc_api_a3erp.pdf

Parámetros de ruta
rutastringRequerido

Path of the file to be obtained

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200
Returns the document in Base64
application/json
get
GET /api/descargafichero/{ruta} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
200

Returns the document in Base64

{
  "documento": "{Document in base64}"
}
  • GET calls
  • GETFile download