POST api/usuarios/usuarios
Request Information
URI Parameters
None.
Body Parameters
UsuariosStoreModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Nombre | string |
Required String length: inclusive between 0 and 255 |
|
| Alias | string |
Required Matching regular expression pattern: ^[a-zA-Z0-9_.+-]+$ String length: inclusive between 0 and 255 |
|
| EmailAvisos | string |
String length: inclusive between 0 and 255 |
|
| Tipo | integer |
Required |
|
| IdEmpleadoOdoo | integer |
None. |
|
| Bloqueado | boolean |
None. |
|
| IdSeccion | integer |
Required |
|
| Cargo | integer |
Required |
|
| Horarios | Collection of HorarioUsuarioStoreModel |
None. |
|
| GestionarVacaciones | boolean |
None. |
|
| VerVacacionesTodos | boolean |
None. |
|
| VerInformesHorasExtrasTodos | boolean |
None. |
|
| Password | string |
Required String length: inclusive between 6 and 255 |
|
| PasswordConfirmation | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Nombre": "sample string 1",
"Alias": "sample string 2",
"EmailAvisos": "sample string 3",
"Tipo": 1,
"IdEmpleadoOdoo": 1,
"Bloqueado": true,
"IdSeccion": 1,
"Cargo": 1,
"Horarios": [
{
"IdHorario": 1,
"FechaInicio": "2025-12-10T11:04:36.1707736+01:00"
},
{
"IdHorario": 1,
"FechaInicio": "2025-12-10T11:04:36.1707736+01:00"
}
],
"GestionarVacaciones": true,
"VerVacacionesTodos": true,
"VerInformesHorasExtrasTodos": true,
"Password": "sample string 8",
"PasswordConfirmation": "sample string 9"
}
application/x-www-form-urlencoded
Sample:
multipart/form-data
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.