POST externo/api/proyecto/AgregarProyecto
Request Information
URI Parameters
None.
Body Parameters
Proyecto| Name | Description | Type | Additional information |
|---|---|---|---|
| idProyecto | integer |
None. |
|
| idVivienda | integer |
None. |
|
| idPrograma | integer |
None. |
|
| idTipoIntervencion | integer |
None. |
|
| idEstatusProyecto | integer |
None. |
|
| superficieTotal | decimal number |
None. |
|
| superficieIntervencion | decimal number |
None. |
|
| costoIntervencion | decimal number |
None. |
|
| fechaRegistro | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"idProyecto": 1,
"idVivienda": 1,
"idPrograma": 1,
"idTipoIntervencion": 1,
"idEstatusProyecto": 1,
"superficieTotal": 1.1,
"superficieIntervencion": 1.1,
"costoIntervencion": 1.1,
"fechaRegistro": "2026-02-24T15:17:29.2009376+00:00"
}
application/xml, text/xml
Sample:
<Proyecto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api"> <costoIntervencion>1.1</costoIntervencion> <fechaRegistro>2026-02-24T15:17:29.2009376+00:00</fechaRegistro> <idEstatusProyecto>1</idEstatusProyecto> <idPrograma>1</idPrograma> <idProyecto>1</idProyecto> <idTipoIntervencion>1</idTipoIntervencion> <idVivienda>1</idVivienda> <superficieIntervencion>1.1</superficieIntervencion> <superficieTotal>1.1</superficieTotal> </Proyecto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| model | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"model": {}
}
application/xml, text/xml
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.Util.Data"> <code>1</code> <message>sample string 2</message> <model /> </JsonResponse>