TIS Training API Documentation
  • Welcome!
  • Quick Start
  • Managing Users
  • Single Sign On (SSO)
    • General Options
    • Role and Group Mappings
    • Connection Types
      • Microsoft Entra ID (Formerly Azure AD)
      • Google Workspace
      • OpenID Connect (OIDC)
      • SAML (Security Assertion Markup Language)
  • SCORM Packages
  • Webhooks
  • API Reference
    • Users
      • 🔵GET users
      • 🔵GET users/seats
      • 🟢POST users
      • 🟠PUT users
      • 🟢POST users/password
      • 🟡PATCH users/enable
      • 🟡PATCH users/disable
      • 🔴DELETE users
    • Results
      • 🔵GET results
      • 🔵GET results/group
    • Groups
      • 🔵GET groups
      • 🟢POST groups/users
      • 🔴DELETE groups/users
    • 🔵GET courses
    • 🔵GET filters
    • 🟢POST login
    • â›”Standard Error Format
  • Webhook Reference
    • Standard Structure
    • Course Complete
    • Multi-Course Complete
  • OpenAPI Specification
Powered by GitBook
On this page
  • URL
  • Parameters
  • Responses
  1. API Reference

GET filters

Fetches a list of reporting filters setup by the organisation.

URL

GET https://training.tapintosafety.com.au/api/v2/filters

Parameters

No parameters available for this endpoint.

curl https://training.tapintosafety.com.au/api/v2/filters \
    -H "Authorization: Bearer $APIKey"

Responses

200 - OK

A list of filters from the database. List may be empty if no filters have been set up.

Name
Type
Description

entities

array

The list of the filters returned.

┃ id

string

The Id of the filter. Formatted as a GUID.

┃ name

string

The name of the filter.

â”— answers

array

A list of answers that users can choose for the filter.

┃ id

string

The Id of the answer. Formatted as a GUID.

â”— answer

string

The display text of the answer.

page

integer

The current page of results (Starts at 1).

entitiesReturned

integer

The number of filters in the entities array.

totalEntities

integer

The total entities across all pages.

links

array

A list of links relevant to the current request. No links are currently returned with this request.

{
  "entities": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "Example Filter",
      "answers": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "answer": "Answer 1"
        },
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "answer": "Answer 2"
        }
      ]
    }
  ],
  "page": 1,
  "entitiesReturned": 1,
  "totalEntities": 1,
  "links": []
}
PreviousGET coursesNextPOST login

Last updated 9 months ago

🔵