Click or drag to resize

GetUserGroupsInDataAction Property

A simple query abstraction layer used to provide a mechanism by which methods can make simple query calls to various models.
* Required Property

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public DataAction DataAction { get; set; }

Property Value

DataAction
Remarks
The DataAction property is required to get results from GetUserGroups(GetUserGroupsIn) method. Below is a list of the available DataAction name values that can used to return a dynamic results set

DataAction Names

NameDescriptionValues Example
SELECT-ALLReturns all user groups in system regardless of any state.[ignored]
Example
JSON Request
{
    "AuthToken":${#Project#Project_Token},
    "DataAction":{
        "Name":"SELECT-ALL",
        "Values":[""]
    }
}
JSON Response
{
   "Report":    {
      "APIVersion": "2.0",
      "ProcessTime": "0.0909502",
      "RequestTime": "/Date(1542136039501-0700)/",
      "ResponseTime": "/Date(1542136039592-0700)/",
      "Results": 11
   },
   "Results":    [
            {
         "ID": 127,
         "ModifiedBy": 0,
         "ModifiedOn": "/Date(1312594368000-0700)/",
         "Name": "Group 1000",
         "Number": "1000"
      },
            {
         "ID": 128,
         "ModifiedBy": 0,
         "ModifiedOn": "/Date(1312586112000-0700)/",
         "Name": "Group 1234",
         "Number": "1234"
      },
            {
         "ID": 134,
         "ModifiedBy": 2,
         "ModifiedOn": "/Date(1325888267010-0700)/",
         "Name": "Group 1337",
         "Number": "1337"
      },
            {
         "ID": 129,
         "ModifiedBy": 2,
         "ModifiedOn": "/Date(1315590319000-0700)/",
         "Name": "Group 2222",
         "Number": "2222"
      },
            {
         "ID": 136,
         "ModifiedBy": 0,
         "ModifiedOn": "/Date(1330380710030-0700)/",
         "Name": "Group 3000",
         "Number": "3000"
      }
   ]
}
See Also