Adds a database to database groups.
Service | add-db-to-group |
Permission | Add DB to Group |
Version | 4.4.9 or later |
Parameter | Definition |
|---|---|
HH$Id | Integer — The ID of the database to add to the groups |
HH$Groups | Comma-separated list of group names to add the database to groups |
For example, in order to add a database with ID#10007000 to the groups DB-Group1 and DB-Group2, submit the request:
https://127.0.0.1:8443/xmlapi.svc?service=add-db-to-group&HH$Id=10007000&HH$Groups=DB-Group1,DB-Group2
Note
If a database group name contains the comma character (,) then the name must be URL encoded twice to make sure the comma character will not be considered as a separator. You can use an online URL encoder service, www.urlencoder.org. For example, if the database group name is test,more%test, then after encoding it, the result is twice the input, for example, test%252Cmore%2525test.