GET api/Asociado/ConsultarContratos?NumeroDocumentoIdentidad={NumeroDocumentoIdentidad}&Anio={Anio}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| NumeroDocumentoIdentidad | string |
Required |
|
| Anio | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AsociadoContrato| Name | Description | Type | Additional information |
|---|---|---|---|
| VC_NOMBRE_TIPO_CONTRATO | string |
None. |
|
| DT_FECHA_INICIO | string |
None. |
|
| DT_FECHA_TERMINO_REAL | string |
None. |
|
| ORIGEN | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VC_NOMBRE_TIPO_CONTRATO": "sample string 1",
"DT_FECHA_INICIO": "sample string 2",
"DT_FECHA_TERMINO_REAL": "sample string 3",
"ORIGEN": "sample string 4"
},
{
"VC_NOMBRE_TIPO_CONTRATO": "sample string 1",
"DT_FECHA_INICIO": "sample string 2",
"DT_FECHA_TERMINO_REAL": "sample string 3",
"ORIGEN": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfAsociadoContrato xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CYC.Adecco.Intranet.API.Dominio.Aggregates">
<AsociadoContrato>
<DT_FECHA_INICIO>sample string 2</DT_FECHA_INICIO>
<DT_FECHA_TERMINO_REAL>sample string 3</DT_FECHA_TERMINO_REAL>
<ORIGEN>sample string 4</ORIGEN>
<VC_NOMBRE_TIPO_CONTRATO>sample string 1</VC_NOMBRE_TIPO_CONTRATO>
</AsociadoContrato>
<AsociadoContrato>
<DT_FECHA_INICIO>sample string 2</DT_FECHA_INICIO>
<DT_FECHA_TERMINO_REAL>sample string 3</DT_FECHA_TERMINO_REAL>
<ORIGEN>sample string 4</ORIGEN>
<VC_NOMBRE_TIPO_CONTRATO>sample string 1</VC_NOMBRE_TIPO_CONTRATO>
</AsociadoContrato>
</ArrayOfAsociadoContrato>