Amili Docs
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. Files
  • About
  • ARM API
    • Health
      • Check API health
    • ArItems
      • Get one AR item
      • Get a list of AR items
      • Put (update) ar item details
    • Documents
      • Get one document
      • POST (create) a batch of documents
      • POST (create) one document
      • Get a list of documents
    • AutoPostings
      • POST (create) one or more auto postings
    • GlItems
      • Get one GL item
      • Get a list of GL items
    • Customers
      • Get one customer
      • Delete a customer
      • POST (create) a batch of customers
      • PUT (update) a batch of customers
      • PUT (update) one customer
      • GET a list of customers
      • POST (create) one customer
    • Batches
      • Get one batch
    • PaymentReservations
      • Creates a new payment reservation
    • Files
      • POST (upload) one or more OS files
        POST
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. Files

POST (upload) one or more OS files

POST
/clients/{clientno}/files
Upload one or more OS files. Access to upload for different types of OS files are configured for each ARM client

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
OK. The request succeeded
Body

🟢207Multi-Status
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/clients//files' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "metadata": {
        "userId": "TestUser"
    },
    "files": [
        {
            "fileId": "File001",
            "type": "InvoiciaFormatDocFile",
            "name": "20250403_Invoice_file_client_2218.csv",
            "content": "VGhpcyBpcyBhbiBleGFtcGxl"
        }
    ]
}'
Response Response Example
200 - POST file(s) response 201
{
    "status": "PROCESSED",
    "result": "CREATED",
    "message": "File(s) uploaded",
    "clientNo": 2218,
    "files": [
        {
            "fileId": "File001",
            "status": "PROCESSED",
            "result": "CREATED",
            "message": "File uploaded"
        }
    ]
}
Modified at 2025-09-29 16:08:55
Previous
Creates a new payment reservation
Built with