POST api/v2/pagamentoExpress/inserir

Request Information

URI Parameters

None.

Body Parameters

InserirPedidoExpressBindingModel
NameDescriptionTypeAdditional information
PedidoId

globally unique identifier

Required

TituloReceita

string

Required

Nome

string

None.

Email

string

None.

Telefone

string

None.

FilialId

integer

None.

ObservacoesAdicionais

string

None.

CanalId

integer

None.

Anexos

Collection of string

None.

TipoRetirada

integer

None.

Endereco

Collection of EnderecoPagExpress

None.

Request Formats

application/json, text/json

Sample:
{
  "PedidoId": "2d5c6fcf-594a-46f0-9f3e-af1eb60706ae",
  "TituloReceita": "sample string 2",
  "Nome": "sample string 3",
  "Email": "sample string 4",
  "Telefone": "sample string 5",
  "FilialId": 1,
  "ObservacoesAdicionais": "sample string 6",
  "CanalId": 7,
  "Anexos": [
    "sample string 1",
    "sample string 2"
  ],
  "TipoRetirada": 8,
  "Endereco": [
    {
      "DESCREND": "sample string 1",
      "ENDER": "sample string 2",
      "ENDNR": "sample string 3",
      "NRCEP": "sample string 4",
      "BAIRR": "sample string 5",
      "MUNIC": "sample string 6",
      "UNFED": "sample string 7"
    },
    {
      "DESCREND": "sample string 1",
      "ENDER": "sample string 2",
      "ENDNR": "sample string 3",
      "NRCEP": "sample string 4",
      "BAIRR": "sample string 5",
      "MUNIC": "sample string 6",
      "UNFED": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<InserirPedidoExpressBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels">
  <Anexos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Anexos>
  <CanalId>7</CanalId>
  <Email>sample string 4</Email>
  <Endereco>
    <InserirPedidoExpressBindingModel.EnderecoPagExpress>
      <BAIRR>sample string 5</BAIRR>
      <DESCREND>sample string 1</DESCREND>
      <ENDER>sample string 2</ENDER>
      <ENDNR>sample string 3</ENDNR>
      <MUNIC>sample string 6</MUNIC>
      <NRCEP>sample string 4</NRCEP>
      <UNFED>sample string 7</UNFED>
    </InserirPedidoExpressBindingModel.EnderecoPagExpress>
    <InserirPedidoExpressBindingModel.EnderecoPagExpress>
      <BAIRR>sample string 5</BAIRR>
      <DESCREND>sample string 1</DESCREND>
      <ENDER>sample string 2</ENDER>
      <ENDNR>sample string 3</ENDNR>
      <MUNIC>sample string 6</MUNIC>
      <NRCEP>sample string 4</NRCEP>
      <UNFED>sample string 7</UNFED>
    </InserirPedidoExpressBindingModel.EnderecoPagExpress>
  </Endereco>
  <FilialId>1</FilialId>
  <Nome>sample string 3</Nome>
  <ObservacoesAdicionais>sample string 6</ObservacoesAdicionais>
  <PedidoId>2d5c6fcf-594a-46f0-9f3e-af1eb60706ae</PedidoId>
  <Telefone>sample string 5</Telefone>
  <TipoRetirada>8</TipoRetirada>
  <TituloReceita>sample string 2</TituloReceita>
</InserirPedidoExpressBindingModel>

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.