POST api/v1/pedido/retornaNumPedido

Pesquisa por pedidos no ERP.

Request Information

URI Parameters

None.

Body Parameters

RetornaNumPedidoRequest
NameDescriptionTypeAdditional information
numeroNF

integer

None.

serieNF

integer

None.

cnpjCliente

string

None.

Request Formats

application/json, text/json

Sample:
{
  "numeroNF": 1,
  "serieNF": 2,
  "cnpjCliente": "sample string 3"
}

application/xml, text/xml

Sample:
<RetornaNumPedidoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2B.Integration.GenericIntegration.Contracts.Pedido">
  <cnpjCliente>sample string 3</cnpjCliente>
  <numeroNF>1</numeroNF>
  <serieNF>2</serieNF>
</RetornaNumPedidoRequest>

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

Response Information

Resource Description

RetornaNumPedidoResponse
NameDescriptionTypeAdditional information
numeroPedidoERP

string

None.

numeroPedidoSite

string

None.

Response Formats

application/json, text/json

Sample:
{
  "numeroPedidoERP": "sample string 1",
  "numeroPedidoSite": "sample string 2"
}

application/xml, text/xml

Sample:
<RetornaNumPedidoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2B.Integration.GenericIntegration.Contracts.Pedido">
  <numeroPedidoERP>sample string 1</numeroPedidoERP>
  <numeroPedidoSite>sample string 2</numeroPedidoSite>
</RetornaNumPedidoResponse>