POST api/v2/pagamentoExpress/VincularCliente

Request Information

URI Parameters

None.

Body Parameters

GetClientePagExpressBindingModel
NameDescriptionTypeAdditional information
CpfCnpj

string

None.

IdPedido

integer

None.

cliente

ClienteExpress

None.

endereco

EnderecoExpress

None.

Request Formats

application/json, text/json

Sample:
{
  "CpfCnpj": "sample string 1",
  "IdPedido": 2,
  "cliente": {
    "Nome": "sample string 1",
    "Email": "sample string 2",
    "Telefone": "sample string 3"
  },
  "endereco": {
    "Ender": "sample string 1",
    "EndNr": "sample string 2",
    "EndCp": "sample string 3",
    "Bairro": "sample string 4",
    "Cidade": "sample string 5",
    "NrCep": "sample string 6",
    "Uf": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<GetClientePagExpressBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels">
  <CpfCnpj>sample string 1</CpfCnpj>
  <IdPedido>2</IdPedido>
  <cliente>
    <Email>sample string 2</Email>
    <Nome>sample string 1</Nome>
    <Telefone>sample string 3</Telefone>
  </cliente>
  <endereco>
    <Bairro>sample string 4</Bairro>
    <Cidade>sample string 5</Cidade>
    <EndCp>sample string 3</EndCp>
    <EndNr>sample string 2</EndNr>
    <Ender>sample string 1</Ender>
    <NrCep>sample string 6</NrCep>
    <Uf>sample string 7</Uf>
  </endereco>
</GetClientePagExpressBindingModel>

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.