Skip to content

Activity-logs

Activity Logs hold information about past License Entitlement usage. Whenever a License Entitlement is refreshed, a matching Activity Logs entry is created.

Get all activity logs.

Endpoint: GET https://api.verustrust-licensing.com/v1/activity-logs

Parameters(Query)

typescript
pageSize?: integer
typescript
pageNumber?: integer
typescript
search: {
}
typescript
sort_by?: string[]
typescript
licenseId?: string
typescript
action?: string
typescript
userId?: string
typescript
startDate?: string
typescript
endDate?: string

Responses

  • 200 Success

application/json

typescript
{
  data: {
    id: string
    license: {
      id: string
      key: string
      expirationDate: string
      registrationDate: string
      deactivated: boolean
      plan: {
        id: string
        name: string
        description: string
        product: {
          id: string
          name: string
          deactivated: boolean
        }
        cost: number
        deactivated: boolean
        duration: integer
      }
      previousLicenseId?: string
      nextLicenseId?: string
      valid: string
      customer: {
        id: string
        name: string
        description: string
        externalId: string
        licenseCount: integer
      }
      licenseEntitlements: {
        id: string
        entitlement: {
          id: string
          name: string
          consumptionPeriod: {
            id: string
            name: string
          }
          activationsEnabled: boolean
          deactivated: boolean
        }
        threshold?: number
        actual: number
        refreshDate: string
        activations: {
          id: string
          value: string
          active: boolean
        }[]
      }[]
      notes: {
        id: string
        content: string
      }[]
    }
    date: string
    user: {
      id?: string
      token?: string
      firstName?: string
      lastName?: string
      email?: string
      remarks?: string
      role: {
        id: string
        name: string
        permissions: {
          id?: string
          action: {
            id: string
            name: string
            group: string
            type: string
          }
          permit?: boolean
          role:#/components/schemas/RoleModel
          group: {
            id: string
            name: string
            tenantId: string
            users:#/components/schemas/UserModel[]
            permissions:#/components/schemas/PermissionModel[]
          }
          user:#/components/schemas/UserModel
        }[]
        users:#/components/schemas/UserModel[]
      }
      registrationStatus?: string
      tenantId?: string
      accountId?: string
      accountEmail?: string
      groups:#/components/schemas/GroupModel[]
      permissions:#/components/schemas/PermissionModel[]
    }
    action: string
    value: string
  }[]
  pagination: {
    itemCount: integer
    totalPages: integer
    currentPage: integer
    nextPage?: integer
    previousPage?: integer
  }
}