GET
/
accounting
/
units
cURL
curl --request GET \
  --url https://api.maesn.dev/accounting/units
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "4f3a2hf4-5b8e-4d1b-8a0c-9f6e7d2f3e4b",
      "code": "PIECE",
      "description": "Piece"
    }
  ]
}

Field support per integration

Headers

X-API-KEY
string

API key

X-ACCOUNT-KEY
string

Account key

Query Parameters

page
number
limit
enum<number>
Available options:
5,
10,
20,
50,
100
environmentName
string
companyId
string
rawData
boolean

Response

200 - application/json

The response is of type object.