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": "e70484c0-67fe-4802-b5a9-ed4c54aea9e7",
"Name": "sample string 2",
"Description": "sample string 3",
"IsSystemAdministrator": true,
"WorkflowID": "a2e0b2c1-9043-4e3e-ab7e-d31858d00a8d",
"IsGroupAdmin": true,
"Workflow": {
"$id": "2",
"ID": "80aa4f0a-c848-4914-9318-ec8b9bfe8e58",
"ParentID": "e9fdede4-36b6-4a73-b76f-8b3a02f3944b",
"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.