Viewing Groups for a Business Object
You can use this API to view all the valid groups for a business object.
Request
-
HTTP Method:GET
-
URL:Application_URL/services/api/v1/objects/{businessObjectId}/groups
-
Authorization:You must have the roles GROUP_EDIT or GROUP_READ or GROUP_DELETE assigned to your user ID in the SAP Cloud Platform account.
Response
-
If a group for the specified business object ID exists, system returns the group and the relevant details.
For more information, see https://help.sap.com/doc/6b92d6402ede4542b1a46c85ee2091d6/1902/en-US/Groups.html#objects__businessObjectId__groups_get.
-
If the group does not exist for the specified business object ID, system returns an error code.
For more information on error codes the system returns, see response payload in https://help.sap.com/doc/6b92d6402ede4542b1a46c85ee2091d6/1902/en-US/Groups.html#objects__businessObjectId__groups_get.