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": "fd981f52-b724-4379-b8cb-40d35a1bf1ca", "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": [ "b54f23de-2b14-4a9a-9643-85bbd5bcaf10", "ea822236-54dc-424a-9a81-495750fb92bd" ] }, "IsDefault": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.OnePlanSecurityGroup", "id": "df45e203-1992-4717-b1b4-eea3fb1cbe0e", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "f3d681e8-7c58-4bc2-9df7-30bdad9e5e7c", "_ts": 638701479818881174 }, { "GroupName": "sample string 1", "License": "fd981f52-b724-4379-b8cb-40d35a1bf1ca", "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": [ "b54f23de-2b14-4a9a-9643-85bbd5bcaf10", "ea822236-54dc-424a-9a81-495750fb92bd" ] }, "IsDefault": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.OnePlanSecurityGroup", "id": "df45e203-1992-4717-b1b4-eea3fb1cbe0e", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "f3d681e8-7c58-4bc2-9df7-30bdad9e5e7c", "_ts": 638701479818881174 } ]
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. |