/reports/activity

Changed on
get/reports/activity

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/reports/activity
  • Auth
    none required

Query parameters

limitinteger

Specify the number of results you wish to return. Defaults to 50, but we have it set to 2 by default so the API explorer doesn't scroll forever.

offsetinteger

The offset from the start of results to use in order to page through the result set

searchstring

String to search on

target_typestring

The type of target (entity something is checked out to) you're searching against. App\Models\User, etc. Required when passing target_id.

target_idinteger

The ID of the target you're querying against. Required if passing target_type

item_type'asset' | 'accessory' | 'consumable' | 'component' | 'license' | 'user'

The type of item you're searching against. App\Models\Asset, etc. Required when passing item_id.

item_idinteger

The ID of the item you're querying against. Required if passing item_type

action_type'checkout' | 'checkin from' | 'update' | 'create' | 'delete' | 'audit' | 'uploaded' | 'accepted' | 'declined' | 'requested'

The action type you'e querying against. Example values here are: "add seats", "checkin from", "checkout", "update"

order'asc' | 'desc'

Ascending or descending order (defaults to desc if no value is given)

sort'id' | 'created_at' | 'target_id' | 'user_id' | 'accept_signature' | 'action_type' | 'note (defaults to desc if not value is given)'

What column the results should be sorted by (defaults to created_at date if no value is given)

Response

200

object required

Changes