TestResults.io
  • What is TestResults.io
  • System Architecture
  • Regulated Markets
    • Health Care Industry
    • Financial Services Industry
  • What's new?
    • Update Instruction
      • Update of the Designer extension in Visual Studio
      • Update the Execution Engine
      • Update the Base- and Environment Models
    • Migration to new project file
  • Designer
    • Overview
    • First Steps
    • Installation
    • TestResults.io solution
    • The development environment
      • Tool Window Overview
        • Test Environments
          • Steps to configure a SUT VM
          • How to access files on the system under test
        • Remote Viewer
          • Control Mode
          • Capture Mode
          • Screen Editor
          • Capture Single Image
        • Screen Explorer
        • Test Case Designer
        • Image Explorer
        • API Testing
        • TestResults.io options
          • Engines
          • Servers
    • Test Cases
      • Adding Test Cases
      • Test Case structure
      • Simple Test Case (Example)
      • Executing your Test Case
      • Generating Test Containers
      • Publishing Test Cases
      • Execution Variables
    • Software Models
      • Adding SW Models
      • Referencing the Model in the Test Case
      • Generating Test Containers
      • Publishing SW Models
      • Screens and Screen Elements
        • Tables
        • Visual Sense
        • Custom Screen Elements
    • Installers
      • Adding Installers
      • Generating Test Containers
      • Publishing Installers
    • Automation Framework Reference
      • Attributes
      • Enumerations
      • Filters
        • IImageFilter Interface
        • Select
        • Resize
      • GlobalEngineParameters
      • ImageDetectionParameters
      • ImageReference
      • Interfaces
        • ITester Interface
          • ITester Methods
          • ITester Properties
        • ITestee Interface
          • ITestee Methods
        • IConnections Interface
          • IConnections Methods
          • IConnections Properties
        • IDebug Interface
        • IEngineResult
        • IHelpers Interface
        • IImageHelper Interface
          • IImageHelper Methods
        • IKeyboard Interface
          • IKeyboard Methods
        • IMouse Interface
          • IMouse Methods
          • IMouse Properties
        • IReport Interface
          • IReport Methods
        • ISUTConnection Interface
      • OcrEngineParameters
        • Best practise
        • IronOcrEngineParameters
        • LEADOcrEngineParameters
        • OcrEngineRelatedCharacters
        • OcrPreprocessingParameters
      • ResultRectangle
      • SutNotReadyException
      • TestStepAbortedException
    • FAQ
      • Two-factor authentication (2FA) and One Time Passwords (OTP)
      • Receive and verify Emails
      • Using Excel as test data source
      • Verify PDF Content
  • Portal
    • Overview
    • First Steps
    • User's Guide
      • Login
      • Projects
      • Dashboard
      • Test Cases
      • Software & Environments
      • Test Sets
      • Job Queue
      • Management
      • Notifications Summary
    • Automation Engineer's Guide
      • Test Automation Workflow
      • Automating a test case
      • Enabling Software & Environments
    • REST API Reference
      • Authentication
      • Projects
      • Test Sets
      • Test Cases
      • Test Plans
      • Test Reports
      • Files
      • Software
      • Environments
      • Untitled
      • Executions
      • Favorites
      • Statistics
      • User Management
      • Customer Management
      • Notifications
      • Configurations
      • Invoicing
  • Models
    • Overview
    • Base Model
      • BaseScreen
        • BaseScreen Properties
        • BaseScreen Methods
      • OnScreenElement
        • OnScreenElement Methods
        • OnScreenElement Properties
      • Primitives
        • Button
          • Button Methods
          • Button Properties
        • Checkbox
          • Checkbox Methods
        • ContextMenu
          • ContextMenu Methods
          • ContextMenu Properties
        • Dropdown
          • Dropdown Methods
          • Dropdown Properties
        • DropdownMenu
          • DropdownMenu Methods
          • DropdownMenu Properties
        • GenericScroller
          • GenericScroller Methods
          • GenericScroller Properties
        • HorizontalScroller
        • IconButton
          • IconButton Properties
        • Label
        • LabelWithButton
          • LabelWithButton Properties
        • LabelWithCheckbox
          • LabelWithCheckbox Properties
        • LabelWithValue
          • LabelWithValue Methods
          • LabelWithValue Properties
        • PwTextBox
          • PwTextBox Methods
        • TextBox
          • TextBox Methods
          • TextBox Properties
        • Tables and lists
          • Column
            • Column Methods
            • Column Properties
          • ItemList
            • ItemList Methods
            • ItemList Properties
          • Row
            • Row Methods
            • Row Properties
          • TableBase
            • TableBase Methods
            • TableBase Properties
        • LabelWithElementBase
          • LabelWithElementBase Properties
      • Enumerations
      • Extensions
        • EngineResultExtensions Methods
        • EnumExtensions Methods
        • ReportExtensions Methods
        • StringExtensions Methods
        • TesterConnectionExtensions Methods
        • TesterDebugExtensions Methods
        • TesterHelperExtensions Methods
        • TesterMouseExtensions Methods
        • TesterOnScreenElementExtensions
        • TesterSelectExtensions Methods
      • Helper Classes
        • BaseModelHelpers
          • BaseModelHelpers Methods
          • BaseModelHelpers Properties
        • Attributes for Designer
        • ListHelpers
      • Exceptions
        • ElementNotFoundException
        • InteractionFailedException
        • ScreenNotFoundException
      • Interfaces
        • IAppBasics Interface
          • IAppBasics Methods
          • IAppBasics Properties
        • IBrowser
        • ICommandLineWindow
        • IScroller Interface
          • IScroller Methods
          • IScroller Properties
        • ISutLocale Interface
          • ISutLocale Methods
          • ISutLocale Properties
        • ISystemHelpers
        • ISystemInteractions
        • IWindow
    • Environment Model
      • Windows
        • Screens
          • CmdWindow
            • CmdWindow Methods
            • CmdWindow Properties
          • FileDialog
            • FileDialog Methods
            • FileDialog Properties
          • FileExplorer
            • FileExplorer Properties
          • RunWindow
            • RunWindow Methods
            • RunWindow Properties
          • Window
            • Window Methods
            • Window Properties
        • SutLocale
          • SutLocale Methods
          • SutLocale Properties
        • SystemHelpers
          • SystemHelpers Methods
          • SystemHelpers Properties
        • SystemInteractions
        • WebBrowser
          • Browser
            • Browser Methods
            • Browser Properties
          • BrowserScroller
            • BrowserScroller Methods
            • BrowserScroller Properties
          • AuthenticationDialog
            • AuthenticationDialog Methods
            • AuthenticationDialog Properties
          • DownloadDialog
            • DownloadDialog Methods
            • DownloadDialog Properties
        • EnvironmentModel Enumerations
        • Interfaces
          • IWebAppBasics
            • IWebAppBasics Property
Powered by GitBook
On this page
  • Get User Groups
  • Create new User Group
  • Update User Group
  • Delete User Group
  • Get Users
  • Create new User
  • Update User
  • Delete User

Was this helpful?

  1. Portal
  2. REST API Reference

User Management

Get User Groups

GET https://[customer].testresults.io/api/management/customers/current

Gets User Groups.

Headers

Name
Type
Description

Authentication

string

Authentication token

{
  "UserGroups": [
    {
      "Name": "Administrators",
      "Description": "Admin Group for Test & Demo",
      "UsagePermission": "Login, Read, Write, Execute, Accept, Reject, UserSettings, UserManagement, Automation, ClaimManagement, CustomerManagement, AccessSecrets, Invoicing, ExecutionTimes",
      "DataVersion": null,
      "Archived": false,
      "Id": "34815f3d-cf2f-4653-8677-1d3ebc51e2ef"
    },
    {
      "Name": "Automation Engineer",
      "Description": "TestResults.io Automation Engineer",
      "UsagePermission": "Login, Read, Write, Execute, Accept, Reject, UserSettings, Automation",
      "DataVersion": null,
      "Archived": false,
      "Id": "f7eef9b7-1508-44b3-9d97-85d33f86e341"
    }
  ],
  "Name": "Test & Demo GmbH",
  "AccountNumber": "INT-PRG-01",
  "Address": "progile GmbH;Riedwiesenstr. 23;8305 Dietlikon;Schweiz",
  "CostCenter": "TRIO-RUN",
  "Currency": "CHF",
  "Tax": 770,
  "Discounts": null,
  "MinimumConsumptionInH": 40,
  "DueDays": 90,
  "TechnicalName": "testanddemo",
  "Subdomain": "stage",
  "Appliances": "Development (Oleg):oleglocal,Dummy:dummyProbe,Stage Box:b8aeed7fa02a",
  "DataVersion": "AAAAAAAq+HI=",
  "Archived": false,
  "Id": "00000000-0000-0000-0000-000000000010"
}

Create new User Group

POST https://[customer].testresults.io/api/management/customers/current/groups

Creates new User Group.

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

Name

string

Group Name

Description

string

Group Description

UsagePermission

string

List of permissions (at least one), comma separated(e.g "Login, Read, Write"...etc)

{
  "Name": "test group2",
  "Description": null,
  "UsagePermission": "Login, Read, Write",
  "DataVersion": "AAAAAAAzlGM=",
  "Archived": false,
  "Id": "1413fed0-4b1a-4b74-a6dd-bf6b86225a1d"
}

Update User Group

PUT https://[customer].testresults.io/api/management/customers/current/groups/:gId

Updates an existing User Group.

Path Parameters

Name
Type
Description

gId

string

Group ID

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

Name

string

Group Name

Description

string

Group Description

UsagePermission

string

List of permissions, comma separated (e.g "Login, Read, Write"...etc)

{
  "Name": "Test Group",
  "Description": "andriy's group2",
  "UsagePermission": "Login, Read, Write, UserSettings, UserManagement, CustomerManagement",
  "DataVersion": "AAAAAAAzlGA=",
  "Archived": false,
  "Id": "b24f80f5-3e1c-4e3a-ae12-ce8eda3f4603"
}

Delete User Group

DELETE https://[customer].testresults.io/api/management/customers/current/groups/:gId

Deletes User Group.

Path Parameters

Name
Type
Description

gId

string

Group ID

Headers

Name
Type
Description

Authentication

string

Authentication token

Get Users

GET https://[customer].testresults.io/api/management/customers/current/groups/:gId/users

Gets all Users for the selected Group.

Path Parameters

Name
Type
Description

gId

string

Group ID

[
  {
    "Email": "rudi.adigbli@progile.ch",
    "UsagePermission": "Login, Read, Write, Execute, Accept, Reject, UserSettings, Automation",
    "Features": null,
    "DisplayName": "Rudi",
    "Password": null,
    "PreviousLogin": null,
    "LastLogin": "2018-08-02T14:06:39.4033333Z",
    "Profile": null,
    "UserGroup": null,
    "DataVersion": "AAAAAAAfaSY=",
    "Archived": false,
    "Id": "eec02495-a1ac-46b1-95ec-07e20096cb7b"
  },
  {
    "Email": "tobias.roethlin@outlook.com",
    "UsagePermission": "Login, Read, Write, Execute, Accept, Reject, UserSettings, Automation",
    "Features": null,
    "DisplayName": "Tobias Röthlin",
    "Password": null,
    "PreviousLogin": "2019-05-02T09:00:41.1766667Z",
    "LastLogin": "2019-05-02T09:00:41.2433333Z",
    "Profile": null,
    "UserGroup": null,
    "DataVersion": "AAAAAAAzh38=",
    "Archived": false,
    "Id": "c83f7ba9-e0bb-4180-b00d-226f2db5f1ee"
  }
]

Create new User

POST https://[customer].testresults.io/api/users

Creates new User.

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

DisplayName

string

User Display Name

Email

string

User Email

UserGroup

object

User Group

Id

string

User Group ID. The field of UserGroup object (e.g UsserGroup: { Id: { user_group_ID } })

{
  "Email": "andriy.bardakov@yahoo.com",
  "UsagePermission": "Login, Read, Write, UserSettings, UserManagement, CustomerManagement",
  "Features": null,
  "DisplayName": "andriy2",
  "Password": null,
  "PreviousLogin": "2019-03-14T11:17:28.6966667Z",
  "LastLogin": "2019-03-14T18:43:40.6333333Z",
  "Profile": null,
  "UserGroup": {
    "Name": "Test Group",
    "Description": "andriy's group2",
    "UsagePermission": "Login, Read, Write, UserSettings, UserManagement, CustomerManagement",
    "DataVersion": "AAAAAAAzlGA=",
    "Archived": false,
    "Id": "b24f80f5-3e1c-4e3a-ae12-ce8eda3f4603"
  },
  "DataVersion": "AAAAAAAzl1s=",
  "Archived": false,
  "Id": "1dbc8860-6b94-4ba0-8161-00d5262f61c3"
}

Update User

PUT https://[customer].testresults.io/api/users/:uId

Updates an existing User.

Path Parameters

Name
Type
Description

uId

string

User ID

Headers

Name
Type
Description

Authentication

string

Authentication token

Request Body

Name
Type
Description

UserData

object

User Data container. (!) All subsequent fields are fields of UserData object. The request payload example: { UserData: { DisplayName: 'user_display_name', Email: 'user_email', UserGroup: { Id: 'user_group_ID' } } }

DisplayName

string

User Display Name. The field of UserData object (e.g UserData: { DisplayName: user_display_name })

Email

string

User Email. The field of UserData object (e.g UserData: { Email: user_email })

UserGroup

object

User Group. The field of UserData object (e.g UserData: { UserGroup: { ... } })

Id

string

User Group ID. The field of UserGroup object (e.g UserGroup: { Id: user_group_ID })

{
  "Email": "andriy.bardakov@yahoo.com",
  "UsagePermission": "Login, Read, Write, UserSettings, UserManagement, CustomerManagement",
  "Features": null,
  "DisplayName": "andriy2",
  "Password": null,
  "PreviousLogin": "2019-03-14T11:17:28.6966667Z",
  "LastLogin": "2019-03-14T18:43:40.6333333Z",
  "Profile": null,
  "UserGroup": {
    "Name": "Test Group",
    "Description": "andriy's group2",
    "UsagePermission": "Login, Read, Write, UserSettings, UserManagement, CustomerManagement",
    "DataVersion": "AAAAAAAzlGA=",
    "Archived": false,
    "Id": "b24f80f5-3e1c-4e3a-ae12-ce8eda3f4603"
  },
  "DataVersion": "AAAAAAAzl1s=",
  "Archived": false,
  "Id": "1dbc8860-6b94-4ba0-8161-00d5262f61c3"
}

Delete User

DELETE https://[customer].testresults.io/api/users/:uId

Delete User.

Path Parameters

Name
Type
Description

uId

string

User ID

Headers

Name
Type
Description

Authentication

string

Authentication token

PreviousStatisticsNextCustomer Management

Last updated 6 years ago

Was this helpful?