POST api/v1/pedido/retornaNumPedido
Pesquisa por pedidos no ERP.
Request Information
URI Parameters
None.
Body Parameters
RetornaNumPedidoRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
RetornaNumPedidoResponse| Name | Description | Type | Additional 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>