POST Contrato/PostContratos
No existe documentación disponible.
Request Information
Parámetros
Nombre | Descripción | Información Adicional |
---|---|---|
numContrato |
Número de Contrato. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
entCode |
Código de la Entidad. |
Define this parameter in the request body. |
entidad |
Nombre de la Entidad. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
contID |
ID del Contratista. |
Define this parameter in the request body. |
contratista |
Nombre del Contratista. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
cuantiaDesde |
Contratos cuya cuantía es mayor o igual a este valor. El valor tiene que ser un número entero sin comas ni punto. |
Define this parameter in the request body. |
cuantiaHasta |
Contratos cuya cuantía es menor o igual a este valor. El valor tiene que ser un número entero sin comas ni punto. |
Define this parameter in the request body. |
otorgadoDesde |
Contratos otorgados en o despúes de esta fecha (yyyy-mm-dd). |
Define this parameter in the request body. |
otorgadoHasta |
Contratos otorgados en o antes de esta fecha (yyyy-mm-dd) |
Define this parameter in the request body. |
vigenciaDesde |
Contratos vigentes en esta fecha (yyyy-mm-dd). En el caso de combinar los parámetros vigenciaDesde y vigenciaHasta se tomarán en consideración los contratos vigentes en el rango de fecha. |
Define this parameter in the request body. |
vigenciaHasta |
Contratos vigentes en esta fecha (yyyy-mm-dd). En el caso de combinar los parámetros vigenciaDesde y vigenciaHasta se tomarán en consideración los contratos vigentes en el rango de fecha. |
Define this parameter in the request body. |
vigente |
No existe documentación disponible. |
Define this parameter in the request body. |
servicioID |
ID del tipo de Servicio. |
Define this parameter in the request body. |
Servicio |
Tipo de Servicio. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
catServicio |
Categoría de Servicio. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
estatusID |
ID de Estatus del Contrato. |
Define this parameter in the request body. |
estatus |
Estatus del Contrato. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
funcionario |
Nombre del funcionario firmante del contrato. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
enPR |
Contrato otorgado en PR (True/False). |
Define this parameter in the request body. |
otorgadoEn |
Lugar en que fue otorgado el contrato. Permite buscar por fragmentos de texto. |
Define this parameter in the request body. |
rescindido |
Contrato rescindido (True/False). |
Define this parameter in the request body. |
priv |
Contrato de privatización (True/False). |
Define this parameter in the request body. |
Request body formats
application/json, text/json
{ "numContrato": "sample string 1", "entCode": 1, "entidad": "sample string 2", "contID": 1, "contratista": "sample string 3", "cuantiaDesde": 1, "cuantiaHasta": 1, "otorgadoDesde": "2021-03-01T21:03:08.9526545-04:00", "otorgadoHasta": "2021-03-01T21:03:08.9526545-04:00", "vigenciaDesde": "2021-03-01T21:03:08.9526545-04:00", "vigenciaHasta": "2021-03-01T21:03:08.9526545-04:00", "vigente": true, "servicioID": 1, "Servicio": "sample string 4", "catServicio": "sample string 5", "estatusID": 1, "estatus": "sample string 6", "funcionario": "sample string 7", "enPR": true, "otorgadoEn": "sample string 8", "rescindido": true, "priv": true }
application/xml, text/xml
<Parameters.ContratoParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OCPRWebApi.Class"> <Servicio>sample string 4</Servicio> <catServicio>sample string 5</catServicio> <contID>1</contID> <contratista>sample string 3</contratista> <cuantiaDesde>1</cuantiaDesde> <cuantiaHasta>1</cuantiaHasta> <enPR>true</enPR> <entCode>1</entCode> <entidad>sample string 2</entidad> <estatus>sample string 6</estatus> <estatusID>1</estatusID> <funcionario>sample string 7</funcionario> <numContrato>sample string 1</numContrato> <otorgadoDesde>2021-03-01T21:03:08.9526545-04:00</otorgadoDesde> <otorgadoEn>sample string 8</otorgadoEn> <otorgadoHasta>2021-03-01T21:03:08.9526545-04:00</otorgadoHasta> <priv>true</priv> <rescindido>true</rescindido> <servicioID>1</servicioID> <vigenciaDesde>2021-03-01T21:03:08.9526545-04:00</vigenciaDesde> <vigenciaHasta>2021-03-01T21:03:08.9526545-04:00</vigenciaHasta> <vigente>true</vigente> </Parameters.ContratoParameters>
application/x-www-form-urlencoded
numContrato=1&entCode=1&entidad=sample string 2&contID=1&contratista=sample string 3&cuantiaDesde=1.0&cuantiaHasta=1.0&otorgadoDesde=2014-03-07T16:06:27.0164576-04:00&otorgadoHasta=2014-03-07T16:06:27.0164576-04:00&vigenciaDesde=2014-03-07T16:06:27.0164576-04:00&&vigenciaHasta=2014-03-07T16:06:27.0164576-04:00&vigente=True&servicioID=1&Servicio=sample string 4&catServicio=sample string 5&estatusID=1&estatus=sample string 6&funcionario=sample string 7&enPR=True&otorgadoEn=sample string 8&rescindido=True&priv=True
Response Information
Response body formats
application/json, text/json
{ "NumeroContrato": "sample string 1", "Entidad": "sample string 2", "Contratista": "sample string 3", "Cuantia": 1.0, "FechaOtorgado": "2021-03-01T21:03:08.9526545-04:00", "VigenteDesde": "2021-03-01T21:03:08.9526545-04:00", "VigenteHasta": "2021-03-01T21:03:08.9526545-04:00", "VigenciaMeses": 1.0, "TipoServicio": "sample string 4", "CategoriaServicio": "sample string 5", "Estatus": "sample string 6", "FuncionarioFirmante": "sample string 7", "EsOtorgadoEnPR": true, "OtorgadoEn": "sample string 8", "EstaRescindido": true, "EsPrivatizacion": true }
application/xml, text/xml
<Contrato xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.DataObjects"> <CategoriaServicio>sample string 5</CategoriaServicio> <Contratista>sample string 3</Contratista> <Cuantia>1</Cuantia> <Entidad>sample string 2</Entidad> <EsOtorgadoEnPR>true</EsOtorgadoEnPR> <EsPrivatizacion>true</EsPrivatizacion> <EstaRescindido>true</EstaRescindido> <Estatus>sample string 6</Estatus> <FechaOtorgado>2021-03-01T21:03:08.9526545-04:00</FechaOtorgado> <FuncionarioFirmante>sample string 7</FuncionarioFirmante> <NumeroContrato>sample string 1</NumeroContrato> <OtorgadoEn>sample string 8</OtorgadoEn> <TipoServicio>sample string 4</TipoServicio> <VigenciaMeses>1</VigenciaMeses> <VigenteDesde>2021-03-01T21:03:08.9526545-04:00</VigenteDesde> <VigenteHasta>2021-03-01T21:03:08.9526545-04:00</VigenteHasta> </Contrato>