Skip to main content
POST
Dispose of part of each of several lines counted by quantity, each part in one transaction: split it off, then record…

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Dispose of part of each of several lines counted by quantity, each part in one transaction: split it off, then record it in the books, move its status and write its disposal record, as asked. The first of those to refuse undoes the part whole, the split with it, and the row says which one it was. A row per part.

p_disposal_date
string<date>
required
p_parts
string<jsonb>
required
p_reason
string<text>
required
p_books
boolean<boolean>
p_counterparty
string<text>
p_custom_fields
string<jsonb>
p_customer_id
string<uuid>
p_notes
string<text>
p_record_counterparty
string<text>
p_reference
string<text>
p_reference_date
string<date>
p_status_reason
string<text>
p_to_state_code
string<text>
p_vendor_id
string<uuid>

Response

200

OK