Get an existing compaction.
Description
This endpoint retrieves compactions from the financial accounting administration by utilizing the compactions code. The compaction codes are standard available in the Bloxs application and can be configured to some extend.
If the user does not know the correct compaction code, the filter can be used to retrieve all available codes.
Use Case
The user wants to retrieve a compaction in order to display its name and the above compaction (parentCode).
Request fields
The request contains the following fields:
| Field | Description |
|---|---|
| code | Code for the compaction. |
Response fields
The 200 response contains the fields in the table below. For the GET operation it gives a up-to-date insight in the data that is currently registered in Bloxs.
| Field | Description |
|---|---|
| code | Code for the compaction. |
| name | Name of the compaction. |
| parentCode | Code of the direct parent compaction. For example, if accounts receivable fall under 'Receivables', which in turn fall under 'Current Assets', this field will return the code of 'Receivables'. |
| lastModified | Timestamp of the last modification within Bloxs (determined by Bloxs). |
Please enter a valid token
The internal identifier of the model (i.e. Reference, Code, Name, depends on model).
OK
The requested compaction was not found.