POST api/securitygroups/bulk
Bulk create new security groups
Request Information
URI Parameters
None.
Body Parameters
Collection of OnePlanSecurityGroupName | Description | Type | Additional information |
---|---|---|---|
GroupName | string |
None. |
|
License | globally unique identifier |
None. |
|
PermissionSettings | Permissions |
None. |
|
IsDefault | boolean |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[ { "GroupName": "sample string 1", "License": "1b7af25a-e862-4cfb-9ee1-61f76917a3dd", "PermissionSettings": { "GlobalPermissionSettings": { "Administrator": true, "EditAllPlans": true, "ManageData": true, "ViewAllPlans": true, "ViewAllResources": true, "ManageResources": true }, "PlanPermissions": { "AddPlan": true, "ArchivePlan": true, "DeletePlan": true }, "HiddenLeftNavigation": [ "sample string 1", "sample string 2" ], "HiddenPlanNavigation": [ "sample string 1", "sample string 2" ], "HiddenAreas": [ "c3e8461c-daee-4b62-9028-97c4816751ab", "ce7b12f5-c89e-451f-b4bf-2a19e64fcc96" ] }, "IsDefault": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.OnePlanSecurityGroup", "id": "afa99c54-9d43-40f5-9d7d-17cda0be05b9", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "e507c055-c691-4272-9c29-64a9de7674c9", "_ts": 638793305164753675 }, { "GroupName": "sample string 1", "License": "1b7af25a-e862-4cfb-9ee1-61f76917a3dd", "PermissionSettings": { "GlobalPermissionSettings": { "Administrator": true, "EditAllPlans": true, "ManageData": true, "ViewAllPlans": true, "ViewAllResources": true, "ManageResources": true }, "PlanPermissions": { "AddPlan": true, "ArchivePlan": true, "DeletePlan": true }, "HiddenLeftNavigation": [ "sample string 1", "sample string 2" ], "HiddenPlanNavigation": [ "sample string 1", "sample string 2" ], "HiddenAreas": [ "c3e8461c-daee-4b62-9028-97c4816751ab", "ce7b12f5-c89e-451f-b4bf-2a19e64fcc96" ] }, "IsDefault": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.OnePlanSecurityGroup", "id": "afa99c54-9d43-40f5-9d7d-17cda0be05b9", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "e507c055-c691-4272-9c29-64a9de7674c9", "_ts": 638793305164753675 } ]
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |