POST api/pedido/AnexoPedido

Request Information

URI Parameters

None.

Body Parameters

AnexoPedidoInput
NameDescriptionTypeAdditional information
PedidoId

integer

None.

Anexos

Collection of AnexoPedidoPagExpress

None.

Request Formats

application/json, text/json

Sample:
{
  "PedidoId": 1,
  "Anexos": [
    {
      "NomeArquivo": "sample string 1",
      "ArquivoBase": "sample string 2"
    },
    {
      "NomeArquivo": "sample string 1",
      "ArquivoBase": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AnexoPedidoInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Common.Input">
  <Anexos xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Common.Input.MobyPay">
    <d2p1:AnexoPedidoPagExpress>
      <d2p1:ArquivoBase>sample string 2</d2p1:ArquivoBase>
      <d2p1:NomeArquivo>sample string 1</d2p1:NomeArquivo>
    </d2p1:AnexoPedidoPagExpress>
    <d2p1:AnexoPedidoPagExpress>
      <d2p1:ArquivoBase>sample string 2</d2p1:ArquivoBase>
      <d2p1:NomeArquivo>sample string 1</d2p1:NomeArquivo>
    </d2p1:AnexoPedidoPagExpress>
  </Anexos>
  <PedidoId>1</PedidoId>
</AnexoPedidoInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.