You can view a list of business groups a user belongs to and the group details of the logged in user only. You cannot view the list of business groups another user belongs to in the same login session.

Business Groups

Retrieves a list of business groups that the logged in Application Services user belongs to.

All of the Application Services roles can access this API.

HTTP Method

GET

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/group

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/group

Response

{
  "errors": false,
  "messageList": [],
  "count": 3,
  "results": [
    {
      "id": "2",
      "lockVersion": 1,
      "name": "QA",
      "description": "Quality Assurance.",
      "lastUpdated": 1378692213749,
      "lastUpdateUser": "SYSTEM",
      "created": 1378692213749,
      "createUser": "SYSTEM"
    },
    {
      "id": "1",
      "lockVersion": 1,
      "name": "Default",
      "description": "The Default vCloud Application Services group.",
      "lastUpdated": 1378692213591,
      "lastUpdateUser": "SYSTEM",
      "created": 1378692213591,
      "createUser": "SYSTEM"
    },
    {
      "id": "3",
      "lockVersion": 1,
      "name": "R-D",
      "description": "Research and development.",
      "lastUpdated": 1378692213750,
      "lastUpdateUser": "SYSTEM",
      "created": 1378692213750,
      "createUser": "SYSTEM"
    }
  ]
}

Get Business Group Details

Retrieves current business group details of the user logged in to Application Services.

All of the Application Services roles can access this API.

Note:

This API is retained only for backward compatibility. It always returns the same response.

HTTP Method

GET

URI Syntax

https://ApplicationServicesServerIP:8443/darwin/api/2.0/group/current

You must type the URI syntax because the copy and paste operation removes formatting from the text.

Example URI syntax:

https://ApplicationServicesServerIP:8443/darwin/api/2.0/group/current

Response

{
  "errors": true,
  "messageList":[
  {
   "messageType": "ERROR",
			"message": "Current group concept does not exist.",
			"messageKey": "user.current.group.not.exist.msg",
			"property": null
		}
		],
  "result": null
}