/hardware/:id/checkout

Checkout an asset to a user, location or another asset

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

An asset ID and checkout_to_type is always required, in addition to one of the following:

  • assigned_user
  • assigned_asset
  • assigned_location
Path Params
int32
required

The id (not the asset tag) of the asset you'd like to query

Body Params
int32
required

Valid status ID

string
required
Defaults to user

Type of entity the asset is being checked out to: user, asset, or location

int32

The ID of the user to check the asset out to. Required if checkout_to_type is set to user

int32

The asset ID to associate the asset to. Required if checkout_to_type is set to asset

int32

The location ID to check the asset out to. Required if checkout_to_type is set to location

date

Optional date the asset is expected to be checked in

date

Optional date to override the checkout time of now

string

Optional new asset name. This is useful for changing the asset's name on new checkout, for example, an asset that was named "Anna's Macbook Pro" could be renamed on the fly when it's checked out to Elizabeth, to "Beth's Macbook Pro"

string

Optional note about the checkout

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain