Accounting legal entity

An accounting legal entity.

Create an accounting legal entity

Create a new accounting legal entity.

SecurityJWT
Request
Request Body schema: application/json

A JSON object containing accounting legal entity information.

name
required
string <= 1000 characters

The name of the accounting legal entity.

qualifier
required
string or integer <= 200 characters

The qualifier of the accounting legal entity.

The qualifier is the identifier provieded by your ERP system and must be unique within the authenticated hub.

Responses
201

Successful operation

422

Unprocessable Content

post/accountinglegalentity
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "85c667334ac7798323174d0c8736471f0fc88b8c",
  • "data": {
    },
  • "timestamp": 1712320774365
}

Get all accounting legal entities

Get all accounting legal entities of the authenticated hub.

SecurityJWT
Request
query Parameters
page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

get/accountinglegalentity
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "ec6ceed75b7261ea5d82064c09649e5df9a38be4",
  • "data": [
    ],
  • "meta": {
    },
  • "timestamp": 1712585807493
}

Get an accounting legal entity

Get an accounting legal entity.

SecurityJWT
Request
path Parameters
accountinglegalentity
required
string or integer

The id/hash of the accounting legal entity.

Responses
200

Successful operation

404

Not Found

get/accountinglegalentity/{accountinglegalentity}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "ec6ceed75b7261ea5d82064c09649e5df9a38be4",
  • "data": {
    },
  • "timestamp": 1712585940564
}

Update an accounting legal entity

Update an accounting legal entity.

SecurityJWT
Request
path Parameters
accountinglegalentity
required
string or integer

The id/hash of the accounting legal entity.

Request Body schema: application/json

A JSON object containing accounting legal entity information

name
string <= 1000 characters

The name of the accounting legal entity.

qualifier
string or integer <= 200 characters

The qualifier of the accounting legal entity.

The qualifier is the identifier provieded by your ERP system and must be unique within the authenticated hub.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

put/accountinglegalentity/{accountinglegalentity}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "bf6282ff67870a4db727db4224ba098b7d933a1b",
  • "data": {
    },
  • "timestamp": 1712325497908
}

Delete an accounting legal entity

Delete an accounting legal entity.

SecurityJWT
Request
path Parameters
accountinglegalentity
required
string or integer

The id/hash of the accounting legal entity.

Responses
200

Successful operation

404

Not Found

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

Restore an accounting legal entity

Restore an accounting legal entity.

SecurityJWT
Request
path Parameters
accountinglegalentity
required
string or integer

The id/hash of the accounting legal entity.

Responses
200

Successful operation

404

Not Found

put/accountinglegalentity/{accountinglegalentity}/restore
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "97d170e1550eee4afc0af065b78cda302a97674c",
  • "data": { },
  • "timestamp": 1712327158082
}