PUT api/usuarios/usuarios/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UsuariosUpdateModel
NameDescriptionTypeAdditional 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

GestionarVacaciones

boolean

None.

VerVacacionesTodos

boolean

None.

VerInformesHorasExtrasTodos

boolean

None.

Password

string

String length: inclusive between 6 and 255

PasswordConfirmation

string

None.

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,
  "GestionarVacaciones": true,
  "VerVacacionesTodos": true,
  "VerInformesHorasExtrasTodos": true,
  "Password": "sample string 8",
  "PasswordConfirmation": "sample string 9"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UsuariosUpdateModel'.

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultipartFormDataFormatter' to write type 'UsuariosUpdateModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.