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
  2. Groups

GET groups

Fetches a list of groups setup by the organisation.

URL

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

Parameters

No parameters available for this endpoint.

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

Responses

200 - OK

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

Name
Type
Description

entities

array

The list of the groups returned.

┃ id

string

The Id of the group. Formatted as a GUID.

┃ name

string

The name of the group.

â”— courses

array

A list of courses that are assigned to the group.

┃ id

string

The Id of the course. Formatted as a GUID.

â”— name

string

The name of the course.

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 Group",
      "courses": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Safety Course A"
        },
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Manager Course B"
        }
      ]
    }
  ],
  "page": 1,
  "entitiesReturned": 1,
  "totalEntities": 1,
  "links": []
}
PreviousGroupsNextPOST groups/users

Last updated 9 months ago

🔵