Measure accounting item

A measure accounting item.

Create a measure accounting item

Create a new measure accounting item for a measure, an accounting ledger, an accounting legal entity and a budgeting item.

If the measure accounting item is already set for the measure and the budgeting item, the assignment will be overwritten without any further warning.

SecurityJWT
Request
Request Body schema: application/json

A JSON object containing measure accounting item information

measure
required
string or integer

The measure of the measure accounting item.

Without a measure the request will always return a 403 Forbidden response.

accounting_ledger
required
string or integer

The accounting ledger of the measure accounting item.

accounting_legal_entity
required
string or integer

The accounting legal entity of the measure accounting item.

budgeting_item
required
string or integer

The budgeting item of the measure accounting item.

Responses
200

Successful operation

201

Successful operation

404

Not Found

422

Unprocessable Content

post/measureaccountingitem
Request samples
application/json
{
  • "measure": 4,
  • "accounting_ledger": 51,
  • "accounting_legal_entity": 294,
  • "budgeting_item": 14
}
Response samples
application/json
{
  • "success": true,
  • "hash": "7f45c939b2bea7bf2c113c59e54a45487aa689db",
  • "data": {
    },
  • "timestamp": 1712592961815
}

Get all measure accounting items

Get all measure accounting items of the authenticated hub.

SecurityJWT
Request
query Parameters
measure
string or integer

The measure for which the measure accounting items should be displayed.

measure_package
string or integer

The measure package for which the measure accounting items should be displayed.

project
string or integer

The project for which the measure accounting items should be displayed.

program
string or integer

The program for which the measure accounting items should be displayed.

page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

get/measureaccountingitem
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "944b0feee655dd51d4b1c88adebab693a1bf61fe",
  • "data": [
    ],
  • "meta": {
    },
  • "timestamp": 1712758316820
}

Get a measure accounting item

Get a measure accounting item.

SecurityJWT
Request
path Parameters
measureaccountingitem
required
string

The id/hash of the measure accounting item.

Responses
200

Successful operation

404

Not Found

get/measureaccountingitem/{measureaccountingitem}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "a88e188647391b3682485b4cc31b0a87140453b7",
  • "data": {
    },
  • "timestamp": 1712760127508
}

Delete a measure accounting item

Delete a measure accounting item.

SecurityJWT
Request
path Parameters
measureaccountingitem
required
string

The id/hash of the measure accounting item.

Responses
200

Successful operation

404

Not Found

delete/measureaccountingitem/{measureaccountingitem}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
  • "data": { },
  • "timestamp": 1712760409526
}