Role - Creates a new role
The requested API version
1.0
Class for representing the view of role.
A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the RoleName property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanCreate property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanEdit property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanExport property.
A public property of type bool that has both a getter and a setter method, which allows for getting and setting the value of the CanView property.
POST /roles HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 83
{
"roleName": "text",
"canCreate": true,
"canEdit": true,
"canExport": true,
"canView": true
}
{
"roleId": "123e4567-e89b-12d3-a456-426614174000",
"roleName": "text",
"canCreate": true,
"canEdit": true,
"canExport": true,
"canView": true,
"isEditable": true
}
Last updated