inventory
post/api/inventory/units/{unit_id}/action

Request

  • Base URL
    https://api.electricair.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.electricair.io/api/inventory/units/{unit_id}/action
  • Auth
    none declared

Path parameters

unit_idinteger required

Request body

action'allocate' | 'install' | 'back_to_stock' | 'return' | 'scrap' | 'serial' | 'note' | 'move' | 'pack' | 'cost' required
job_idinteger nullable
job_item_idinteger nullable
location_idinteger nullable
location_codestring
referencestring
reasonstring
serial_numberstring
notesstring

Response

OK

Changes

    • info

      added the new optional request property

    • info

      added the new cost enum value to the request property

    • info

      added the optional property / to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added