POST api/pedido/insertanexo

Request Information

URI Parameters

None.

Body Parameters

InserirAnexoBindingModel
NameDescriptionTypeAdditional information
PedidoId

globally unique identifier

Required

ConteudoTexto

string

None.

ConteudoArquivo

string

None.

TipoAnexoId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "PedidoId": "2eb79107-2bf5-4302-b591-60fd78e519e2",
  "ConteudoTexto": "sample string 2",
  "ConteudoArquivo": "sample string 3",
  "TipoAnexoId": 4
}

application/xml, text/xml

Sample:
<InserirAnexoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
  <ConteudoArquivo>sample string 3</ConteudoArquivo>
  <ConteudoTexto>sample string 2</ConteudoTexto>
  <PedidoId>2eb79107-2bf5-4302-b591-60fd78e519e2</PedidoId>
  <TipoAnexoId>4</TipoAnexoId>
</InserirAnexoBindingModel>

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.