POST externo/api/proyecto/Obtener-presupueto

Request Information

URI Parameters

None.

Body Parameters

Collection of CoeficientesDTO
NameDescriptionTypeAdditional information
descripcion

string

None.

unidad

string

None.

idCoeficientes

integer

None.

idProyecto

integer

None.

idConcepto

integer

None.

cantidad

decimal number

None.

valor

decimal number

None.

cumple

integer

None.

fechaRegistro

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "descripcion": "sample string 1",
    "unidad": "sample string 2",
    "idCoeficientes": 1,
    "idProyecto": 1,
    "idConcepto": 1,
    "cantidad": 1.1,
    "valor": 1.1,
    "cumple": 1,
    "fechaRegistro": "2026-02-24T15:19:35.5406751+00:00"
  },
  {
    "descripcion": "sample string 1",
    "unidad": "sample string 2",
    "idCoeficientes": 1,
    "idProyecto": 1,
    "idConcepto": 1,
    "cantidad": 1.1,
    "valor": 1.1,
    "cumple": 1,
    "fechaRegistro": "2026-02-24T15:19:35.5406751+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCoeficientesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Data">
  <CoeficientesDTO>
    <cantidad xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1.1</cantidad>
    <cumple xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</cumple>
    <fechaRegistro xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">2026-02-24T15:19:35.5406751+00:00</fechaRegistro>
    <idCoeficientes xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</idCoeficientes>
    <idConcepto xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</idConcepto>
    <idProyecto xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</idProyecto>
    <valor xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1.1</valor>
    <descripcion>sample string 1</descripcion>
    <unidad>sample string 2</unidad>
  </CoeficientesDTO>
  <CoeficientesDTO>
    <cantidad xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1.1</cantidad>
    <cumple xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</cumple>
    <fechaRegistro xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">2026-02-24T15:19:35.5406751+00:00</fechaRegistro>
    <idCoeficientes xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</idCoeficientes>
    <idConcepto xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</idConcepto>
    <idProyecto xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1</idProyecto>
    <valor xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">1.1</valor>
    <descripcion>sample string 1</descripcion>
    <unidad>sample string 2</unidad>
  </CoeficientesDTO>
</ArrayOfCoeficientesDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

JsonResponse
NameDescriptionTypeAdditional 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>