POST api/AppUser/MD_CREATE_Role
Request Information
URI Parameters
None.
Body Parameters
ModelRole| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleId | integer |
None. |
|
| RoleName | string |
None. |
|
| Description | string |
None. |
|
| ActiveStatus | integer |
None. |
|
| CreatedAt | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedAt | date |
None. |
|
| ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleId": 1,
"RoleName": "sample string 2",
"Description": "sample string 3",
"ActiveStatus": 4,
"CreatedAt": "2025-12-05T20:12:18.7013915-08:00",
"CreatedBy": 6,
"ModifiedAt": "2025-12-05T20:12:18.7013915-08:00",
"ModifiedBy": 8
}
text/html
Sample:
{"RoleId":1,"RoleName":"sample string 2","Description":"sample string 3","ActiveStatus":4,"CreatedAt":"2025-12-05T20:12:18.7013915-08:00","CreatedBy":6,"ModifiedAt":"2025-12-05T20:12:18.7013915-08:00","ModifiedBy":8}
application/xml, text/xml
Sample:
<ModelRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SupperAdminWebAPI.Models"> <ActiveStatus>4</ActiveStatus> <CreatedAt>2025-12-05T20:12:18.7013915-08:00</CreatedAt> <CreatedBy>6</CreatedBy> <Description>sample string 3</Description> <ModifiedAt>2025-12-05T20:12:18.7013915-08:00</ModifiedAt> <ModifiedBy>8</ModifiedBy> <RoleId>1</RoleId> <RoleName>sample string 2</RoleName> </ModelRole>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ModelError| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorId | integer |
None. |
|
| ErrorDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorId": 1,
"ErrorDescription": "sample string 2"
}
text/html
Sample:
{"ErrorId":1,"ErrorDescription":"sample string 2"}
application/xml, text/xml
Sample:
<ModelError xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SupperAdminWebAPI.Models.Error"> <ErrorDescription>sample string 2</ErrorDescription> <ErrorId>1</ErrorId> </ModelError>