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. Batches
  • 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
        GET
    • PaymentReservations
      • Creates a new payment reservation
    • Files
      • POST (upload) one or more OS files
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. Batches

Get one batch

GET
/clients/{clientno}/batches/{batchuuid}
Get details for one batch with asynchronous treatment

Request

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

Responses

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

🟢202Accepted
🟢206Partial Content
🟠400Bad Request
🟠403Forbidden
🟠404Not Found
🟠406Not Acceptable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/clients//batches/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Get batch status
{
    "clientNo": 2218,
    "batchUuid": "8NlwdOIM1YLVFP9-WOwkYQ",
    "status": "PROCESSED",
    "result": "PARTIAL-SUCCESS",
    "message": "The batch was processed",
    "countNotProcessed": 0,
    "countProcessed": 2,
    "countSuccessful": 1,
    "countFailed": 1,
    "items": [
        {
            "status": "PROCESSED",
            "result": "CREATED",
            "message": "Customer created",
            "clientNo": 2218,
            "accountNo": 500002,
            "customerNo": "543210",
            "warnings": [
                {
                    "field": "organizationNo",
                    "message": "Business ID/organizationNo 987654321 is not a valid business ID (scheme code: 0192)"
                }
            ]
        },
        {
            "status": "PROCESSED",
            "result": "FAILED",
            "message": "NX is not a valid ISO 3166-1 alpha-2 country code",
            "clientNo": 2218,
            "accountNo": 500029,
            "customerNo": "765432",
            "errors": [
                {
                    "field": "countryCode",
                    "message": "NX is not a valid ISO 3166-1 alpha-2 country code"
                }
            ]
        }
    ]
}
Modified at 2025-09-29 16:08:55
Previous
POST (create) one customer
Next
Creates a new payment reservation
Built with