POST api/CPPT/consultarCPPT?rutEmpresa={rutEmpresa}&idUsuario={idUsuario}
consultarCPPT
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
rutEmpresa | integer |
Required |
|
idUsuario | integer |
Required |
Body Parameters
ConsultaCPPTName | Description | Type | Additional information |
---|---|---|---|
idEmpresa | integer |
None. |
|
tipoRut_RSU | string |
None. |
|
valorRut_RSU | string |
None. |
|
fechaInicioConvenio | date |
None. |
|
fechaTerminoConvenio | date |
None. |
|
idLocacion | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "idEmpresa": 1, "tipoRut_RSU": "sample string 2", "valorRut_RSU": "sample string 3", "fechaInicioConvenio": "2024-04-20T06:49:57.4246267-04:00", "fechaTerminoConvenio": "2024-04-20T06:49:57.4246267-04:00", "idLocacion": 4 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RespuestaConsultaCPPTName | Description | Type | Additional information |
---|---|---|---|
Estado | integer |
None. |
|
Mensaje | string |
None. |
|
detalle | Collection of QueryCPPT |
None. |
Response Formats
application/json, text/json
Sample:
{ "estado": 1, "mensaje": "sample string 2", "detalle": [ { "$id": "2", "idCPPT": 1, "rutEmpresa": 2, "rsu": "sample string 3", "fechainicio": "2024-04-20T06:49:57.6018104-04:00", "fechatermino": "2024-04-20T06:49:57.6018104-04:00", "canTurnos": 1, "rutPersona": 1, "idLocacion": 4, "lugar": "sample string 5", "horainiciodescanso": "00:00:00.1234567", "horaterminodescanso": "00:00:00.1234567", "activo": true, "iD_PUERTO": 6, "iD_CPPTPAPA": 1, "nombreConcesion": "sample string 7", "nombrE_INSTALACION": "sample string 8", "nombreEmpresa": "sample string 9", "rutaarchivocppt": "sample string 10", "idEmpresa": 11, "dvEmpresa": "sample string 12", "region": "sample string 13" }, { "$ref": "2" } ] }