PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantId | Required | integer | Teamgage internal organisation identifier |
criteria | Required | <user object> |
PARAMETER | TYPE | DESCRIPTION |
response | string | Response status message |
records | array <user object> | A list of user records matching the search criteria supplied in the request |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantId | Required | integer | Teamgage internal organisation identifier |
users | Required | array <user object> | See user object definition below |
directteamassignment | Updates : optional | boolean | Tag Handling. Values:
|
taghandling | Updates : optional | string | Tag handling determines how StructuralTags and DemographicTags fields are processed on each user record. Values:
|
teamhandling | Updates : optional | string | Team handling determines how TeamName field is processed on each user record. Acceptable values:
|
deleteold | Optional | boolean | Delete all existing users which have not been specified in the import list. Users marked as protected will not be deleted even if they are not specified in the import list. The default value is False if omitted. Note: It is advised to only set the value to True if the full organisation user listing is supplied. |
ReceiveSubmissionWelcome | Optional | boolean | Sets whether a user should receive a submission welcome communication with their next reminder schedule. If omitted, no changes to communications will occur. |
ReceiveManagerWelcome | Optional | boolean | Sets whether a user should receive a manager welcome communication with their next reminder schedule. If omitted, no changes to communications will occur. |
ReceiveFirstSubmission | Optional | boolean | Sets whether a user should receive a first submission welcome communication with their next reminder schedule. If omitted, no changes to communications will occur. |
PARAMETER | TYPE | DESCRIPTION |
success | boolean | Flag indicating the request has been accepted |
response | <response object> | See response object definition for more details. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
users | Required | array <user del object> | A user deletion object, see definition below. Acceptable parameters are:
See order of precedence for lookup or alternative identifier values. |
PARAMETER | TYPE | DESCRIPTION |
success | boolean | Flag indicating the request has been accepted |
response | <response object> | See response object definition for more details. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
firstname | Record Additions: required Record Updates & Listings: optional | string | User's first name. Max Length: 100 |
lastname | Record Additions: required Record Updates & Listings: optional | string | User's last name. Max Length: 100 |
email | Required | string | User's email address. Max Length: 255 |
email_match | Record Updates & Listings: optional | string | Optional email lookup value for locating a user. |
preferredname | Optional | string | User's preferred name. Max Length: 100 Note : To clear all previously stored values, pass the singular key word 'NULLIFY' |
mobile | Optional | string | User's mobile/contact number. Max Length: 50 Note : To clear all previously stored values, pass the singular key word 'NULLIFY' |
timezone | Record Additions & Updates: optional | string | A valid IANA time zone identifier to indicate the user's primary location. If omitted the organisation's time zone will be used. Only canonical time zones are permitted. Note : To clear all previously stored values, pass the singular key word 'NULLIFY' |
structuraltags | Optional Requires header: directteamassignment: false | string | Structural tag names to be associated with the user. Multiple tags should be split using the pipe '|' character. |
demographictags | Optional | string | Demographic tag names to be associated with the
user. Multiple tags should be split using the pipe ‘|’
character. |
taghandling | Record Updates: optional | string | Tag handling. If omitted the header taghandling
value will be used. Acceptable values:
|
teamname | Optional Requires header: directteamassignment: true | string | Team names to associated with the user. Multiple
teams should be split using the pipe ‘|’ character.
The user will be assigned all structural tags for
each team specified. |
teamhandling | Record Updates: optional | string | Tag handling. If omitted the header teamhandling
value will be used. Acceptable values:
|
communication | Record Additions & Updates: optional | string | Types of communication the user can receive. Acceptable values:
|
communicationhandling | Record Updates: optional | string | Communication handling. Acceptable values:
|
active | Record Additions & Updates: optional | boolean | Flag indicating if the user record is active. The
default value is True if omitted. |
userid_match | Record Updates: optional lookup
value for locating the user by userid | integer | Teamgage internal user identifier. |
ai_employeeid | Optional | string | Client internal employee alternative identifier. Max length 100. Note : When updating this field any previous values
which are to be retained must be supplied again
otherwise they will be removed when applying the
supplied values.
To clear all previously stored values pass the
singular key word 'NULLIFY'. |
ai_employeeid_match | Record Updates: optional | string | Optional client internal employee alternative
identifier lookup value for locating a user. |
ai_otherid | Optional | string | Client internal employee other alternative identifier. Max length 100. Note : When updating this field any previous values
which are to be retained must be supplied again
otherwise they will be removed when applying the
supplied values.
To clear all previously stored values pass the
singular key word 'NULLIFY'. |
ai_otherid_match | Record Updates: optional | string | Optional client internal other alternative identifier
lookup value for locating a user. |
ai_email | Optional | string | Client internal employee email alternative identifier. Max length 100. Note : When updating this field any previous values
which are to be retained must be supplied again
otherwise they will be removed when applying the
supplied values.
To clear all previously stored values pass the
singular key word 'NULLIFY' |
ai_email_match | Record Updates: optional | string | Optional client internal email alternative identifier
lookup value for locating a user. |
ai_sso | Optional | string | Client internal employee single sign-on alternative
identifier.
Max length 100.
Note: When updating this field any previous values
which are to be retained must be supplied again
otherwise they will be removed when applying the
supplied values.
To clear all previously stored values pass the
singular key word 'NULLIFY' |
ai_sso_match | Record Updates: optional | string | Optional client internal single sign-on alternative
identifier lookup value for locating a user. |
protected | Record Additions & Updates: optional | boolean | Flag to indicate whether the user should be
protected from auto deletion when processing old
users. Default value is False if omitted. |
usessubmissioncard | Optional Requires Organisation to have Submission
Cards feature enabled | boolean | Flag to indicate whether user can use a Submission
Card for their Teamgage Submission. If omitted, user flag is left unchanged. |
submissioncardid | Optional Requires Organisation to have Submission
Cards feature enabled Requires user to have usessubmissioncard flag
(above) set to true | integer | Sequence number of Submission Card allocated to
user for their Teamgage Submission. If omitted, allocated card is left unchanged. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
userid_match | Required only if all other fields have been omitted. | integer | Lookup value for locating the user by the Teamgage internal user identifier. |
email_match | Optional | string | Lookup value for locating the user by email. |
ai_employeeid_match | Optional | string | Lookup value for locating the user by the client internal employee alternative identifier. |
ai_otherid_match | Optional | string | Lookup value for locating the user by the client other alternative identifier. |
ai_email_match | Optional | string | Lookup value for locating the user by the client email alternative identifier. |
ai_sso_match | Optional | string | Lookup value for locating the user by the client single sign-on alternative identifier. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
criteria | Required | <report object> | See report object definition below |
PARAMETER | TYPE | DESCRIPTION |
response | string | Response status message. |
records | array <report object> | A list of reports matching the search criteria supplied in the request. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantId | Required | integer | Teamgage internal organisation identifier. |
reports | Required | <report object> | See report object definition below |
taghandling | Record Updates: optional | string | T ag handling. Acceptable values:
|
deleteold | Optional | boolean | Delete all existing reports which have not been specified in the import list. Reports marked as protected will not be deleted even if they are not specified in the import list. The default value is False if omitted. Note : It is advised to only set the value to True if the full organisation report listing is supplied. |
PARAMETER | TYPE | DESCRIPTION |
success | boolean | Flag indicating if the request has been accepted |
response | <response object> | See response object definition for more details. |
PARAMETERS | REQUIREMENTS | TYPE | DESCRIPTION |
tenantId | Required | integer | Teamgage internal organisation identifier. |
reports | Required | <report object> | A report deletion object, see definition below. Acceptable parameters are:
See order of precedence for lookup values |
PARAMETER | TYPE | DESCRIPTION |
success | boolean | Flag indicating if the request has been accepted. |
response | <response object> | See response object definition for more details. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
criteria | Required | <results object> | See report results object definition below. |
PARAMETER | TYPE | DESCRIPTION |
response | string | Response status message. |
resultdata | <results> | A results data object matching the report criteria
supplied in the request |
PARAMETER | REQUIRMENTS | TYPE | DESCRIPTION |
reportname | Record Additions: required Record Listings & Updates: optional | string | Name of the report. Max length 500. |
reportname_match | Record Listings & Updates: optional | string | Optional reportname lookup value for locating a
report. |
reporttype | Required | string | Indicates the type of report:
Use these to analyse employee demographics. Default : Structural |
metricsetid | Record Additions: required Record Updates & Listings: optional | integer? | The metric set ID, or null if inherited from the parent
report. |
structuraltagsinclude | Optional | string | Tag names to determine which users are included in
the report results. Multiple tags should be split using
the pipe ‘|’ character. |
structuraltagsexclude | Optional | string | Tag names to determine which users are excluded
from the report results. Multiple tags should be split
using the pipe ‘|’ character. |
structuraltaghandling | Record Updates: optional | string | Tag handling. If omitted the header taghandling
value will be used. Acceptable values:
|
demographictagsinclude | Optional | string | Tag names to determine which users are included in
the report results. Multiple tags should be split using
the pipe ‘|’ character. |
demographictagsexclude | Optional | string | Tag names to determine which users are excluded
from the report results. Multiple tags should be split
using the pipe ‘|’ character. |
demographictaghandling | Record Updates: optional | string | Tag handling. If omitted the header taghandling
value will be used. Acceptable values:
|
blocksubmissionreminderinheritance | Required | string | Specifies whether a report should prevent/block
members from receiving scheduled submission
reminders from above reports:
Default : Inherited |
userwelcomeid | Optional for all, only valid for Structural reports
with BlockSubmissionInheritance | integer? | Teamgage email template ID for the submission
welcome email. Note : Email reminders will only be sent if a
submission reminder schedule is configured and
email template identifiers are set. |
usersubmissionnotificationid | Optional for all, only valid for Structural reports
with BlockSubmissionInheritance | integer? | Teamgage email template ID for the submission
reminder email. |
userfirstsubmissionthankyouid | Teamgage email template ID for the first-submission
“Thank You” email. | integer? | Teamgage email template ID for the first-submission
“Thank You” email. |
blockmanagerreminderinheritance | Required | string | Specifies whether a report should prevent/block
managers from receiving scheduled manager
reminders from above reports:
Default : Inherited |
managerwelcomeid | Optional for all, only valid for Structural reports
with BlockManagerInheritance | integer? | Teamgage email template ID for the manager
welcome email. Note : Email reminders will only be sent if a manager
reminder schedule is configured and email template
identifiers are set. |
managerpromptid | Optional for all, only valid for Structural reports
with BlockManagerInheritance | integer? | Teamgage email template ID for the manager
reminder email. |
reportid_match | Record Updates & Listings: optional | string | Optional internal report identifier lookup value for
locating a report. |
protected | Record Additions & Updates: optional | boolean | Flag to indicate whether the report should be
protected from auto deletion when processing old
reports. Default : False |
parentreportid | integer |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
reportname_match | Required lookup value only if the reportid_match parameter have been omitted | string | Name of the report. Max length 500. |
reportid_match | Optional | integer | Teamgage internal report identifier |
resulttype | Required | string | Type of report result to export. Acceptable values:
Default : Snapshot |
withdata | Required | string | Type of data to return. Acceptable values:
Default : VALUES |
startdate | Required | ISO 8601
date string | Start datetime for the range of results to calculate. The date supplied must be
in ISO 8601 format. Datetimes are interpreted as UTC. |
enddate | Required | ISO 8601
date string | End datetime for the range of results to calculate. The date supplied must be in ISO 8601 format. Datetimes are interpreted as UTC. |
comparisonStartDate | Optional (for snapshot only) | ISO 8601 date string | Start datetime for the range of results to compare the primary date range to. The date supplied must be in ISO 8601 format. Datetimes are interpreted as UTC. |
comparisonEndDate | Optional (for snapshot only) | ISO 8601 date string | Start datetime for the range of results to compare the primary date range to. The date supplied must be in ISO 8601 format. Datetimes are interpreted as UTC. |
tagfilters | Optional | string | Tag filter with which to further restrict the report
data. Multiple tags should be split using the pipe ‘|’
character. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
reportname_match | Required only if all other fields have been omitted. | string | Lookup value for locating the report by reportname . |
reportid_match | Optional | integer | Lookup value for locating the report by the Teamgage
internal report identifier. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
criteria | Required | user object | See manager object definition below. |
PARAMETER | TYPE | DESCRIPTION |
response | string | Response status message. |
records | array <manager object> | A list of manager records matching the search criteria supplied in the request. |
PARAMETER | REQUIRMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
managers | Required | <manager object> | See manager object definition below |
flaghandling | Record Updates: optional | string | Flag handling. Acceptable values:
|
deleteold | Optional | boolean | Delete all existing report managers which have
not been specified in the import list. Report
managers marked as protected will not be
deleted even if they are not specified in the
import list. The default value is FALSE if omitted. Note : It is advised to only set the value to True if
the full organisation report manager listing is
supplied. |
PARAMETER | TYPE | DESCRIPTION |
success | boolean | Flag indicating if the request has been accepted. |
response | <response object> | See response object definition for more details. |
PARAMETER | REQUIRMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
managers | Required | <manager object> | A manager deletion object, see definition below. If more than one parameter is supplied, all
values must match the manager record for
that record to be deleted. |
PARAMETER | TYPE | DESCRIPTION |
success | boolean | Flag indicating if the request has been accepted. |
response | <response object> | See response object definition for more details. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
reportname | Record Additions: required only if reportid has been omitted. Record Updates & Listings: optional lookup
value for locating reports by report name. | string | Name of the report to assign the manager to.
Max length 500. |
reportid | Optional | integer | Teamgage internal report identifier. |
flags | Record Additions & Updates: required | string | Notification flags. Multiple flags should be split using
the pipe ‘|’ character. Acceptable values:
|
flaghandling | Record Additions & Updates: optional | string | Flag handling. If omitted the header flaghandling value
will be used. Acceptable values:
|
email | Record Additions: required only if all
other user identifiers have been omitted. Record Updates & Listings: optional | string | Users email address.
Max length 255. |
managerid | Optional | integer | Teamgage internal user identifier. |
ai_employeeid | Optional | string | Client internal employee alternative identifier lookup
value for locating a user. |
ai_otherid | Optional | string | Client internal other alternative identifier lookup value
for locating a user. |
ai_email | Optional | string | Client internal email alternative identifier lookup value
for locating a user. |
ai_sso | Optional | string | Client internal single sign-on alternative identifier
lookup value for locating a user. |
protected | Record Additions & Updates: optional | boolean | Flag to indicate whether the report manager should be
protected from auto deletion when processing old report
managers. Default value is False if omitted. |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
criteria | Required | Action Criteria (see below) | An object which can be provided to filter search results. |
PARAMETER | TYPE | DESCRIPTION |
response | string | Response status message. |
records | array <Action object> (see below) | A list of actions matching the search criteria supplied in the request. |
PARAMETER | REQUIRMENTS | TYPE | DESCRIPTION |
searchPhrase | Optional | string | Search phrase to filter by. Will
filter results to only include
actions which have either a
description or an assignee
matching the provided phrase. |
dateTimeCreatedFrom | Optional | ISO8601
date-string | If provided, only actions created
after the date will be returned |
dateTimeCreatedTo | Optional | ISO8601
date-string | If provided, only actions created
before the date will be created |
status | Optional | string | Acceptable values: • complete • incomplete If “ complete ”, only completed
actions will be returned and vice
versa for “incomplete”. If not
provided, actions of all status types are returned. |
reportIds | Optional | string | A comma-separated list of report
IDs to filter the actions to (e.g.
“1013,1014,1025”) |
includeChildReportIds | Optional | boolean | Only has an effect if the reportIds parameter is also used. If true ,
actions from child-teams of the
provided reportIds will also be
included in the result. Defaults to
false. |
metricIds | Optional | string | A comma-separated list of
metric IDs to filter the actions to
(e.g. “523,567,704”) |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
actionId | Required | integer | Unique ID of the action |
actionText | Required | string | Text describing what the action is |
reportId | Required | integer | ID of the report the action was made from |
reportName | Required | string | Name of the report the action was made
from |
metricId | Required | integer | ID of the metric the action was linked to. |
metricName | Required | string | Name of the metric the action was linked to. |
dateTimeCreated | Required | ISO8601 date string | DateTime the action was created at. |
dateTimeCompleted | Optional | ISO8601 date string | DateTime the action was completed, or null if
it is incomplete. |
dueDate | Optional | ISO8601 date string | Due date for the action, or null if it does not
have a due date |
assignedToName (legacy,
use assignees instead) | Required | string | Name of the first assignee. |
assignedToEmail (legacy,
used assignees instead) | Required | string | Email of the first assignee. |
assignees | Required | array of ActionAssignees (See below) | List of the current assignees. |
assignedByName | Required | string | Name of the user who most recently edited
the action’s assignees. |
assignedByEmail | Required | string | Email of the user who most recently edited
the action’s assignees. |
status | Required | string | Current status of the action, may be
“Complete” or “Incomplete” |
PARAMETER | TYPE | DESCRIPTION |
name | string | Name of the assignee. |
email | string | Email of the assignee |
PARAMETER | REQUIREMENTS | TYPE | DESCRIPTION |
tenantid | Required | integer | Teamgage internal organisation identifier. |
requestid | Required | integer | The Teamgage internal identifier of the API request. |
PARAMETER | TYPE | DESCRIPTION |
response | string | Returns “ true “ if it is a valid request or an error message indicating why the request failed. |
status | <status object> | See status object definition for more details. If the request failed a null object will be returned. |
PARAMETER | TYPE | DESCRIPTION |
id | integer | The Teamgage internal identifier of the API request. |
name | string | The name of the API request. |
createddatetime | string | The date and time the API request was created. |
status | string | Descriptive status of the request. Possible responses are:
|
progress | string | The current completion percentage of the request |
notes | string | Any warnings or errors generated during the request
processing |
PARAMETER | TYPE | DESCRIPTION |
requestid | integer | The unique identifier for the request which can be
used when calling the Request Status.
If the request was unsuccessful the requestid will be
zero. |
message | string | If the request has been successful a unique URL will
be returned linking to the import process results.
Otherwise a message indicating why the import
failed will be returned |