Skip to main content
POST
Hand stock to a person, a project, a department, a cost centre or an asset.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Hand stock to a person, a project, a department, a cost centre or an asset.

Exactly one recipient: stock that went to one place recorded as having gone to two is a cost counted twice. The movement carries the store's moving average, so spend by recipient is a sum over the ledger; no budget is charged.

Stock is either used up or expected back. Left unsaid, the part's own consumable setting decides; used-up stock is never listed as still out and cannot be returned.

p_part_id
string<uuid>
required
p_quantity
number<numeric>
required
p_warehouse_id
string<uuid>
required
p_asset_id
string<uuid>
p_client_operation_id
string<uuid>
p_consumed
boolean<boolean>
p_cost_center_id
string<uuid>
p_department_id
string<uuid>
p_device_id
string<uuid>
p_notes
string<text>
p_project_id
string<uuid>
p_reason_code
string<text>
p_to_worker_id
string<uuid>

Response

200

OK