POST api/securitygroups
Create a new security group
Request Information
URI Parameters
None.
Body Parameters
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": "5d01a64a-99d5-453f-85b0-dfe4a8d58c5b", "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": [ "853b84b7-e76e-44f6-9dcb-3d4d7ead0e92", "94e04ca5-9f04-45ca-ba30-4d1e28082ff8" ] }, "IsDefault": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.OnePlanSecurityGroup", "id": "aa7214ea-9446-4230-8aa3-fca877825a01", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "0a9cfe85-eb3d-426e-a15a-b97f12dbcea3", "_ts": 638701498129185182 }
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. |