POST v1/{organizationId}/ledgeritems/status

Gets status for ledger items

Request Information

URI Parameters

NameDescriptionTypeAdditional information
organizationId

string

None.

Body Parameters

A list of ledger item status models

Collection of LedgerItemStatusModel
NameDescriptionTypeAdditional information
Id

The unique identifier to identify a ledger item.

globally unique identifier

None.

Sample:
[
  {
    "Id": "c11a7fe6-ca90-4b0d-bc65-c02b84bd33af"
  },
  {
    "Id": "c11a7fe6-ca90-4b0d-bc65-c02b84bd33af"
  }
]

Response Information

Resource Description

Collection of LedgerItemStatus
NameDescriptionType
Status

Status for the ledger item. Possible values are Draft, PendingBooking and Booked.

string
VoucherNumber

The assigned voucher number. If `null`, no voucher number is assgined yet.

integer
Id

The unique identifier to identify a ledger item.

globally unique identifier
Version

The version for the ledger item. To avoid concurrency issues.

string
Sample:
[
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "d6d9a09c-dea6-4f8b-a6a4-6f67ab72cc51",
    "Version": "AAAAAAYb0Eo1"
  },
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "d6d9a09c-dea6-4f8b-a6a4-6f67ab72cc51",
    "Version": "AAAAAAYb0Eo1"
  }
]