POST Application/PostRoles

Request Information

URI Parameters

None.

Body Parameters

Role
NameDescriptionTypeAdditional 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": "b357fbd8-4e2a-4061-951b-26fd3d7176d6",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "IsSystemAdministrator": true,
  "WorkflowID": "b690c545-0820-46b1-beda-5c512f951cbc",
  "IsGroupAdmin": true,
  "Workflow": {
    "$id": "2",
    "ID": "9393d3b6-c973-4d17-984c-859525f7b775",
    "ParentID": "41d2c0c4-294a-4c8f-9e50-935c321c90d8",
    "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
NameDescriptionTypeAdditional 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.