
Add groups to an organization
Details
URI
/artifact/<organization_id>/group
Method POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 91 for the steps required to get the userIdentifier value.
Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception
Note that the role mustbe specifiedfor each group in the request body.Valid rolesare as follows.
For Consumer type organizations:
l SERVICE_CONSUMER
For Provider type organizations:
l CONSUMER_SERVICE_ADMINISTRATOR
l SERVICE_BUSINESS_MANAGER
l SERVICE_DESIGNER
l CSA_ADMIN
l RESOURCE_SUPPLY_MANAGER
l SERVICE_OPERATIONS_MANAGER
Example
The following URL was sent:
https://<host>:<port>/csa/rest/artifact/8a81818f3d1421e7013d1423635a0003/group?u
serIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was sent:
<GroupList>
<group>
<displayName>My-Group-Name</displayName>
<distinguishedName>
cn=TestConsumer,ou=ConsumerGroup,ou=CSAGroups
</distinguishedName>
<role>
<name>SERVICE_CONSUMER</name>
</role>
</group>
APIReference
HP Cloud Service Automation (4.10) Page 23 of 150
Comentários a estes Manuais