POST api/Rol
Request Information
URI Parameters
None.
Body Parameters
RolRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| rolNombre | string |
None. |
|
| grupoExterno | boolean |
None. |
|
| idExterno | string |
None. |
|
| idSistema | integer |
None. |
|
| idMarca | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"rolNombre": "sample string 1",
"grupoExterno": true,
"idExterno": "sample string 3",
"idSistema": 4,
"idMarca": 5
}
application/xml, text/xml
Sample:
<RolRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO"> <grupoExterno>true</grupoExterno> <idExterno>sample string 3</idExterno> <idMarca>5</idMarca> <idSistema>4</idSistema> <rolNombre>sample string 1</rolNombre> </RolRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RolResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | integer |
None. |
|
| responseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1,
"responseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<RolResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </RolResponse>