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": "634a263c-059e-48d0-81be-aaf2f325dbae"
  },
  {
    "Id": "634a263c-059e-48d0-81be-aaf2f325dbae"
  }
]

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": "e0bbfa50-39b9-4c3e-9f13-93d7c6e34645",
    "Version": "AAAAAAYb0Eo1"
  },
  {
    "Status": "Draft",
    "VoucherNumber": 1,
    "Id": "e0bbfa50-39b9-4c3e-9f13-93d7c6e34645",
    "Version": "AAAAAAYb0Eo1"
  }
]