PUT api/vacaciones/calendario/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

VacacionesStoreUpdateModel
NameDescriptionTypeAdditional information
Id

integer

None.

IdUsuario

integer

None.

FechaInicio

date

None.

FechaFin

date

None.

Tipo

integer

Required

EditarAdmin

boolean

None.

Estado

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdUsuario": 1,
  "FechaInicio": "2025-12-10T11:05:07.3456397+01:00",
  "FechaFin": "2025-12-10T11:05:07.3466479+01:00",
  "Tipo": 1,
  "EditarAdmin": true,
  "Estado": 1
}

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 'VacacionesStoreUpdateModel'.

multipart/form-data

Sample:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.