POST api/Empleados
Request Information
URI Parameters
None.
Body Parameters
Usuarios| Name | Description | Type | Additional information |
|---|---|---|---|
| Cod | integer |
None. |
|
| Nombres | string |
String length: inclusive between 0 and 200 |
|
| Apellidos | string |
String length: inclusive between 0 and 200 |
|
| Telefono | string |
String length: inclusive between 0 and 20 |
|
| Documento | string |
String length: inclusive between 0 and 20 |
|
| Usuario | string |
String length: inclusive between 0 and 200 |
|
| Contraseña | string |
String length: inclusive between 0 and 200 |
|
| Estado | boolean |
None. |
|
| SesionActiva | boolean |
None. |
|
| Empresa | integer |
None. |
|
| Rol | integer |
None. |
|
| NombreRol | string |
None. |
|
| DescripcionEstado | string |
None. |
|
| ConexionBd | string |
String length: inclusive between 0 and 500 |
|
| Token | string |
String length: inclusive between 0 and 500 |
|
| FechaLimite | string |
None. |
|
| FechaActual | string |
None. |
|
| ColeccionFirebase | string |
String length: inclusive between 0 and 100 |
|
| Url | string |
String length: inclusive between 0 and 200 |
|
| LogoStr | string |
None. |
|
| ConexBd | Conexion |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConexBd": {
"BdPrincipal": "sample string 1",
"BdCliente": "sample string 2"
},
"Cod": 1,
"Nombres": "sample string 2",
"Apellidos": "sample string 3",
"Telefono": "sample string 4",
"Documento": "sample string 5",
"Usuario": "sample string 6",
"Contraseña": "sample string 7",
"Estado": true,
"SesionActiva": true,
"Empresa": 8,
"Rol": 1,
"NombreRol": "sample string 9",
"DescripcionEstado": "sample string 10",
"ConexionBd": "sample string 11",
"Token": "sample string 12",
"FechaLimite": "sample string 13",
"FechaActual": "sample string 14",
"ColeccionFirebase": "sample string 15",
"Url": "sample string 16",
"LogoStr": "sample string 17"
}
application/xml, text/xml
Sample:
<Usuarios xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComandasApi.Models">
<Apellidos>sample string 3</Apellidos>
<Cod>1</Cod>
<ColeccionFirebase>sample string 15</ColeccionFirebase>
<ConexBd>
<BdCliente>sample string 2</BdCliente>
<BdPrincipal>sample string 1</BdPrincipal>
</ConexBd>
<ConexionBd>sample string 11</ConexionBd>
<Contraseña>sample string 7</Contraseña>
<DescripcionEstado>sample string 10</DescripcionEstado>
<Documento>sample string 5</Documento>
<Empresa>8</Empresa>
<Estado>true</Estado>
<FechaActual>sample string 14</FechaActual>
<FechaLimite>sample string 13</FechaLimite>
<LogoStr>sample string 17</LogoStr>
<NombreRol>sample string 9</NombreRol>
<Nombres>sample string 2</Nombres>
<Rol>1</Rol>
<SesionActiva>true</SesionActiva>
<Telefono>sample string 4</Telefono>
<Token>sample string 12</Token>
<Url>sample string 16</Url>
<Usuario>sample string 6</Usuario>
</Usuarios>
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.