POST api/role/create
Registra un rol en el programa
Request Information
URI Parameters
None.
Body Parameters
Objeto que contiene la información a guardar
SaveRole| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleID | integer |
None. |
|
| RoleName | string |
None. |
|
| Status | string |
None. |
|
| CreateUserID | integer |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleID": 1,
"RoleName": "sample string 2",
"Status": "sample string 3",
"CreateUserID": 4,
"UpdateUserID": 5
}
application/xml, text/xml
Sample:
<SaveRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loymark.Backend.Admin.Resources"> <CreateUserID>4</CreateUserID> <RoleID>1</RoleID> <RoleName>sample string 2</RoleName> <Status>sample string 3</Status> <UpdateUserID>5</UpdateUserID> </SaveRole>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.