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": "021e2866-52aa-45ce-87a1-a636f5473148",
"Name": "sample string 2",
"Description": "sample string 3",
"IsSystemAdministrator": true,
"WorkflowID": "42ede919-dc85-49da-a541-a9392aea0a84",
"IsGroupAdmin": true,
"Workflow": {
"$id": "2",
"ID": "f2bcc4dd-931a-4295-bbec-210ec394a2d8",
"ParentID": "8ab68c91-c9a3-4b98-8148-0ba7bb78796d",
"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.