POST Application/PostRoles
Request Information
URI Parameters
None.
Body Parameters
Role| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Name | string |
Required |
|
| Description | string |
None. |
|
| IsSystemAdministrator | boolean |
Required |
|
| WorkflowID | globally unique identifier |
Required |
|
| IsGroupAdmin | boolean |
Required |
|
| Workflow | Workflow |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "dfbcc6dc-0815-4528-a9d5-fbc8fa03d198",
"Name": "sample string 2",
"Description": "sample string 3",
"IsSystemAdministrator": true,
"WorkflowID": "bcc96be0-7e47-4f47-84a8-916808d44e7e",
"IsGroupAdmin": true,
"Workflow": {
"$id": "2",
"ID": "01be5d11-3212-4c32-b58f-d7b5e35b545e",
"ParentID": "ea015ae1-b3d8-4419-8692-5848c5667c67",
"TypeID": 2,
"Name": "sample string 3",
"Description": "sample string 4",
"Sequence": 5,
"Active": true,
"Caption": "sample string 7",
"IconName": "sample string 8",
"IsMobile": true,
"Alias": "sample string 10",
"NotificationBadgeValueViewModel": "sample string 11",
"NotificationBadgeBackgroundColour": "sample string 12",
"NotificationBadgeTextColour": "sample string 13",
"IsPercentageNotificationBadge": true,
"IsVisible": true
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| Code | string |
None. |
|
| StackTrace | string |
None. |
|
| Response | ServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.