POST externo/api/coeficientes/Agregar-Coeficientes

Request Information

URI Parameters

None.

Body Parameters

Coeficientes
NameDescriptionTypeAdditional information
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:
{
  "idCoeficientes": 1,
  "idProyecto": 1,
  "idConcepto": 1,
  "cantidad": 1.1,
  "valor": 1.1,
  "cumple": 1,
  "fechaRegistro": "2026-02-24T10:29:38.9742727+00:00"
}

application/xml, text/xml

Sample:
<Coeficientes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RUV.CORE.MODELO.AutoProduccion.Api">
  <cantidad>1.1</cantidad>
  <cumple>1</cumple>
  <fechaRegistro>2026-02-24T10:29:38.9742727+00:00</fechaRegistro>
  <idCoeficientes>1</idCoeficientes>
  <idConcepto>1</idConcepto>
  <idProyecto>1</idProyecto>
  <valor>1.1</valor>
</Coeficientes>

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 'Coeficientes'.

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>