1. Prodoctivity Api(FileManager)
Prodoctivity Api(File Manager)
  • Prodoctivity Api(FileManager)
    • Login
      POST
    • Document Delete
      DELETE
    • Document Get All
      GET
    • Document Search
      GET
    • Create/Update Document
      POST
    • Document-Type Get All
      GET
    • Document-Type Search
      GET
    • Documents Filter Search
      POST
  1. Prodoctivity Api(FileManager)

Create/Update Document

POST
/api/documents
Upserts a document: create if new, overwrite/update if DocId is provided and updateBinaries is true;
Inserta un documento: crea si es nuevo, actualiza si se envia el DocId y el campo updateBinaries es true.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200OK
application/json
Success
Body

🟠404Record Not Found
🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://localhost:44397/api/documents' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "documentTypeId": "67213e7d9b56b50c3e771764",
    "contentType": "application/pdf",
    "data": {
        "numerodeemision": "1234",
        "deudor": "Mirajam3",
        "cedula": "741258"
    },
    "documents": [
        "data:application/pdf;base64,(Document in Base64)"
    ],
    "mustUpdateBinaries": false
}'
Response Response Example
200 - Example 1
{}
Modified at 2025-05-14 19:18:43
Previous
Document Search
Next
Document-Type Get All
Built with