PUT api/Pedido/SendToProcessing

Request Information

URI Parameters

None.

Body Parameters

SendToProcessingDto
NameDescriptionTypeAdditional information
idPedido

integer

None.

idUnidade

integer

None.

naturezaOprEnum

NaturezaOperacaoEnum

None.

key

integer

None.

id

integer

None.

isNew

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "idPedido": 1,
  "idUnidade": 2,
  "naturezaOprEnum": 1,
  "key": 3,
  "id": 3,
  "isNew": true
}

application/xml, text/xml

Sample:
<SendToProcessingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Linkcards.Webapi.Models.Pedido">
  <isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
  <key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">3</key>
  <idPedido>1</idPedido>
  <idUnidade>2</idUnidade>
  <naturezaOprEnum>Venda</naturezaOprEnum>
</SendToProcessingDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.