POST api/Renovaciones

Request Information

URI Parameters

None.

Body Parameters

Renovacion
NameDescriptionTypeAdditional information
idRenovacion

integer

None.

idPrestamo

integer

Required

fechaEntrega

date

Required

Data type: DateTime

fechaRenovacion

date

Required

Data type: DateTime

observacion

string

None.

borrado

date

Data type: DateTime

Prestamo

Prestamo

None.

Request Formats

application/json, text/json

Sample:
{
  "idRenovacion": 1,
  "idPrestamo": 2,
  "fechaEntrega": "2024-12-22T23:42:00.922985+00:00",
  "fechaRenovacion": "2024-12-22T23:42:00.922985+00:00",
  "observacion": "sample string 5",
  "borrado": "2024-12-22T23:42:00.922985+00:00",
  "Prestamo": {
    "idPrestamo": 1,
    "idPersonal": 1,
    "idBeneficiario": 1,
    "idPaisOrigen": 1,
    "idPaisDestino": 1,
    "idPaisRetorno": 1,
    "idDivision": 2,
    "tipoTransporte": "sample string 3",
    "observacion": "sample string 4",
    "fechaPrestamo": "2024-12-22T23:42:00.922985+00:00",
    "fechaDevolucion": "2024-12-22T23:42:00.922985+00:00",
    "puertoEmbarque": "sample string 5",
    "fechaVencimiento": "2024-12-22T23:42:00.922985+00:00",
    "tipoRecibo": "sample string 6",
    "contratoMarco": "sample string 7",
    "nroPrestamo": "sample string 8",
    "borrado": "2024-12-22T23:42:00.922985+00:00",
    "empresaTransporte": "sample string 9",
    "resumenPrestamo": "sample string 10",
    "idPermanencia": 1,
    "esEgreso": true,
    "usuarioRegistro": "sample string 11",
    "fechaRegistro": "2024-12-22T23:42:00.922985+00:00",
    "usuarioModificacion": "sample string 12",
    "fechaModificacion": "2024-12-22T23:42:00.922985+00:00",
    "emailNotificacion1": "sample string 13",
    "emailNotificacion2": "sample string 14",
    "emailNotificacion3": "sample string 15",
    "resumenPrestamoIngles": "sample string 16",
    "Beneficiario": {
      "idBeneficiario": 1,
      "beneficiario1": "sample string 2",
      "telefono": "sample string 3",
      "institucion": "sample string 4",
      "direccion": "sample string 5",
      "email": "sample string 6",
      "borrado": "2024-12-22T23:42:00.922985+00:00"
    },
    "Pais": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:42:00.922985+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:42:00.922985+00:00"
      }
    },
    "Pais1": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:42:00.922985+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:42:00.922985+00:00"
      }
    },
    "Pais2": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:42:00.922985+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:42:00.922985+00:00"
      }
    },
    "Personal": {
      "idPersonal": 1,
      "idCargo": 1,
      "idArea": 1,
      "idDivision": 1,
      "nombre": "sample string 2",
      "apellidoPaterno": "sample string 3",
      "apellidoMaterno": "sample string 4",
      "fechaNacimiento": "2024-12-22T23:42:00.922985+00:00",
      "funcion": "sample string 5",
      "siglas": "sample string 6",
      "estudios": "sample string 7",
      "cursos": "sample string 8",
      "temasInteres": "sample string 9",
      "miembroQCAZ": true,
      "telefonoDomicilio": "sample string 10",
      "telefonoTrabajo": "sample string 11",
      "celular": "sample string 12",
      "email": "sample string 13",
      "web": "sample string 14",
      "facebook": "sample string 15",
      "twitter": "sample string 16",
      "whatsApp": "sample string 17",
      "idUsuario": "sample string 18",
      "activo": true,
      "borrado": "2024-12-22T23:42:00.922985+00:00",
      "usuarioRegistro": "sample string 19",
      "usuarioModificacion": "sample string 20",
      "fechaRegistro": "2024-12-22T23:42:00.922985+00:00",
      "fechaModificacion": "2024-12-22T23:42:00.922985+00:00",
      "obsPersonal": "sample string 21",
      "TArea": {
        "idArea": 1,
        "tipoArea": "sample string 2",
        "descripcion": "sample string 3",
        "activo": true
      },
      "TCargo": {
        "idCargo": 1,
        "tipoCargo": "sample string 2",
        "descripcion": "sample string 3",
        "activo": true
      },
      "TDivision": {
        "idDivision": 1,
        "division": "sample string 2",
        "descripcion": "sample string 3",
        "activo": true
      }
    },
    "TDivision": {
      "idDivision": 1,
      "division": "sample string 2",
      "descripcion": "sample string 3",
      "activo": true
    },
    "TPermanencia": {
      "idPermanencia": 1,
      "tipoPermanencia": "sample string 2",
      "descripcion": "sample string 3",
      "activo": true
    }
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Renovacion
NameDescriptionTypeAdditional information
idRenovacion

integer

None.

idPrestamo

integer

Required

fechaEntrega

date

Required

Data type: DateTime

fechaRenovacion

date

Required

Data type: DateTime

observacion

string

None.

borrado

date

Data type: DateTime

Prestamo

Prestamo

None.

Response Formats

application/json, text/json

Sample:
{
  "idRenovacion": 1,
  "idPrestamo": 2,
  "fechaEntrega": "2024-12-22T23:42:01.0010919+00:00",
  "fechaRenovacion": "2024-12-22T23:42:01.0010919+00:00",
  "observacion": "sample string 5",
  "borrado": "2024-12-22T23:42:01.0010919+00:00",
  "Prestamo": {
    "idPrestamo": 1,
    "idPersonal": 1,
    "idBeneficiario": 1,
    "idPaisOrigen": 1,
    "idPaisDestino": 1,
    "idPaisRetorno": 1,
    "idDivision": 2,
    "tipoTransporte": "sample string 3",
    "observacion": "sample string 4",
    "fechaPrestamo": "2024-12-22T23:42:01.0010919+00:00",
    "fechaDevolucion": "2024-12-22T23:42:01.0010919+00:00",
    "puertoEmbarque": "sample string 5",
    "fechaVencimiento": "2024-12-22T23:42:01.0010919+00:00",
    "tipoRecibo": "sample string 6",
    "contratoMarco": "sample string 7",
    "nroPrestamo": "sample string 8",
    "borrado": "2024-12-22T23:42:01.0010919+00:00",
    "empresaTransporte": "sample string 9",
    "resumenPrestamo": "sample string 10",
    "idPermanencia": 1,
    "esEgreso": true,
    "usuarioRegistro": "sample string 11",
    "fechaRegistro": "2024-12-22T23:42:01.0010919+00:00",
    "usuarioModificacion": "sample string 12",
    "fechaModificacion": "2024-12-22T23:42:01.0010919+00:00",
    "emailNotificacion1": "sample string 13",
    "emailNotificacion2": "sample string 14",
    "emailNotificacion3": "sample string 15",
    "resumenPrestamoIngles": "sample string 16",
    "Beneficiario": {
      "idBeneficiario": 1,
      "beneficiario1": "sample string 2",
      "telefono": "sample string 3",
      "institucion": "sample string 4",
      "direccion": "sample string 5",
      "email": "sample string 6",
      "borrado": "2024-12-22T23:42:01.0010919+00:00"
    },
    "Pais": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:42:01.0010919+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:42:01.0010919+00:00"
      }
    },
    "Pais1": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:42:01.0010919+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:42:01.0010919+00:00"
      }
    },
    "Pais2": {
      "idPais": 1,
      "idContinente": 2,
      "pais1": "sample string 3",
      "activo": true,
      "borrado": "2024-12-22T23:42:01.0010919+00:00",
      "Continente": {
        "idContinente": 1,
        "continente1": "sample string 2",
        "activo": true,
        "borrado": "2024-12-22T23:42:01.0010919+00:00"
      }
    },
    "Personal": {
      "idPersonal": 1,
      "idCargo": 1,
      "idArea": 1,
      "idDivision": 1,
      "nombre": "sample string 2",
      "apellidoPaterno": "sample string 3",
      "apellidoMaterno": "sample string 4",
      "fechaNacimiento": "2024-12-22T23:42:01.0010919+00:00",
      "funcion": "sample string 5",
      "siglas": "sample string 6",
      "estudios": "sample string 7",
      "cursos": "sample string 8",
      "temasInteres": "sample string 9",
      "miembroQCAZ": true,
      "telefonoDomicilio": "sample string 10",
      "telefonoTrabajo": "sample string 11",
      "celular": "sample string 12",
      "email": "sample string 13",
      "web": "sample string 14",
      "facebook": "sample string 15",
      "twitter": "sample string 16",
      "whatsApp": "sample string 17",
      "idUsuario": "sample string 18",
      "activo": true,
      "borrado": "2024-12-22T23:42:01.0010919+00:00",
      "usuarioRegistro": "sample string 19",
      "usuarioModificacion": "sample string 20",
      "fechaRegistro": "2024-12-22T23:42:01.0010919+00:00",
      "fechaModificacion": "2024-12-22T23:42:01.0010919+00:00",
      "obsPersonal": "sample string 21",
      "TArea": {
        "idArea": 1,
        "tipoArea": "sample string 2",
        "descripcion": "sample string 3",
        "activo": true
      },
      "TCargo": {
        "idCargo": 1,
        "tipoCargo": "sample string 2",
        "descripcion": "sample string 3",
        "activo": true
      },
      "TDivision": {
        "idDivision": 1,
        "division": "sample string 2",
        "descripcion": "sample string 3",
        "activo": true
      }
    },
    "TDivision": {
      "idDivision": 1,
      "division": "sample string 2",
      "descripcion": "sample string 3",
      "activo": true
    },
    "TPermanencia": {
      "idPermanencia": 1,
      "tipoPermanencia": "sample string 2",
      "descripcion": "sample string 3",
      "activo": true
    }
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.