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": "710c4120-8b5e-46c5-9212-5d89656005af", "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": [ "196776c0-ba5a-453a-9b44-77c249cc712c", "47c93348-d7ff-4202-a70c-70b05d3d5dea" ] }, "IsDefault": true, "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.OnePlanSecurityGroup", "id": "7a6e179f-7ca7-4c39-a561-e8028b86bad5", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "d8631ddf-00ae-4ab2-91c5-f6bf7bf82d31", "_ts": 638793304780607424 }
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. |