GET api/UPCN?user={user}&autoriza={autoriza}&IdDelega={IdDelega}&DNI={DNI}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| user | string |
Required |
|
| autoriza | boolean |
Required |
|
| IdDelega | integer |
Required |
|
| DNI | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Data_UPCN| Name | Description | Type | Additional information |
|---|---|---|---|
| error | boolean |
None. |
|
| mensaje | string |
None. |
|
| datos_afiliado | UPCN_Afiliado |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": true,
"mensaje": "sample string 2",
"datos_afiliado": {
"afiliado_elegible": true,
"apellidos": "sample string 2",
"nombres": "sample string 3",
"numero_documento": "sample string 4",
"fecha_baja": "sample string 5"
}
}
application/xml, text/xml
Sample:
<UPCNController.Data_UPCN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsIosep.Controllers">
<datos_afiliado>
<afiliado_elegible>true</afiliado_elegible>
<apellidos>sample string 2</apellidos>
<fecha_baja>sample string 5</fecha_baja>
<nombres>sample string 3</nombres>
<numero_documento>sample string 4</numero_documento>
</datos_afiliado>
<error>true</error>
<mensaje>sample string 2</mensaje>
</UPCNController.Data_UPCN>