POST api/materiales/setbypercentage

Request Information

URI Parameters

None.

Body Parameters

PorcentajesIncremento
NameDescriptionTypeAdditional information
IdGestor

string

None.

IdCliente

string

None.

TipoPrecio

string

None.

Porcentaje

decimal number

None.

FechaInicio

date

None.

Depositos

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdGestor": "sample string 1",
  "IdCliente": "sample string 2",
  "TipoPrecio": "sample string 3",
  "Porcentaje": 1.0,
  "FechaInicio": "2026-04-08T04:40:31.253559-05:00"
}

application/xml, text/xml

Sample:
<MaterialesController.PorcentajesIncremento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Controllers">
  <Depositos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 5</d2p1:string>
  </Depositos>
  <FechaInicio>2026-04-08T04:40:31.253559-05:00</FechaInicio>
  <IdCliente>sample string 2</IdCliente>
  <IdGestor>sample string 1</IdGestor>
  <Porcentaje>1</Porcentaje>
  <TipoPrecio>sample string 3</TipoPrecio>
</MaterialesController.PorcentajesIncremento>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.