Skip to main content
POST
Issue an asset to somebody: against one of its booking lines, by that booking's own rules, or directly with no booking…

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Issue an asset to somebody: against one of its booking lines, by that booking's own rules, or directly with no booking and a Required Until, which holds the asset on the availability calendar until it comes back. Refuses an asset already out, one booked or due for maintenance inside the period, and one that has left service.

p_asset_id
string<uuid>
required
p_checklist
string<jsonb>
p_condition_code
string<text>
p_line_id
string<uuid>
p_notes
string<text>
p_reading
number<numeric>
p_required_until
string<timestamp with time zone>
p_scan_code
string<text>
p_scan_override_reason
string<text>
p_to_status
string<text>
p_worker_id
string<uuid>

Response

200

OK