POST api/v2/pagamentoExpress/atualizastatuspedidopago
Request Information
URI Parameters
None.
Body Parameters
AtualizarStatusPedidoBindingModelName | Description | Type | Additional information |
---|---|---|---|
CanalId | integer |
None. |
|
NumeroPedido | integer |
None. |
|
FormaPagamento | FormaPagamento |
None. |
|
StatusPagamento | StatusPagamento |
None. |
|
PagamentoInfo | PagamentoInfo |
None. |
|
TenantId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CanalId": 1, "NumeroPedido": 2, "FormaPagamento": 0, "StatusPagamento": 0, "PagamentoInfo": { "ValorPagamento": 1.0, "AdditionalInfo": "sample string 2", "GatewayPagamentoId": 1 }, "TenantId": "e1bc502f-344d-41fc-9ec5-e1b980f5ea0b" }
application/xml, text/xml
Sample:
<AtualizarStatusPedidoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <CanalId>1</CanalId> <FormaPagamento>Dinheiro</FormaPagamento> <NumeroPedido>2</NumeroPedido> <PagamentoInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d2p1:AdditionalInfo>sample string 2</d2p1:AdditionalInfo> <d2p1:GatewayPagamentoId>1</d2p1:GatewayPagamentoId> <d2p1:ValorPagamento>1</d2p1:ValorPagamento> </PagamentoInfo> <StatusPagamento>None</StatusPagamento> <TenantId>e1bc502f-344d-41fc-9ec5-e1b980f5ea0b</TenantId> </AtualizarStatusPedidoBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AtualizarStatusPedidoResultName | Description | Type | Additional information |
---|---|---|---|
Succeeded | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<AtualizarStatusPedidoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> </AtualizarStatusPedidoResult>