Purpose
A post API to map or un-map to the user from or to a group.
Accessing the API
XML
Endpoint: /API/APP/APP007/UserGroupAction
HTTP METHOD
XML
POST
Parameters
|
Parameters |
Data Type |
Required |
Description |
|---|---|---|---|
|
GroupName |
String |
YES |
User Group Name |
|
UserName |
String |
YES |
User Name |
|
Action |
String |
YES |
(map/unmap) |
|
Instance |
String |
YES |
Instance Name |
Sample Request (JSON)
XML
{
"GroupName":"GroupName",
"UserName":"UserName",
"Action":"map",
"Instance":"InstanceName"
}
Sample Response (JSON)
XML
{
"Version":"2.3.0.0",
"IsSuccess":true,
"LogCode":"0",
"Result":"user XXXXXXX mapped to group (XXXXXXX)",
"StatusCode":"Accepted",
"Timestamp":"03 Jun 2019 11:34:45 GMT 05:30:00"
}