POST api/Garantia/AtualizaInfoPagto
Insere ou Atualiza detalhes do extrato do pagamento
Request Information
URI Parameters
None.
Body Parameters
Collection of ExtratoPagamentoDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CodCliente |
Codigo do cliente |
integer |
None. |
| NumeroContasAPagar |
Numero do contas a pagar vindo SAP |
integer |
None. |
| NFs |
Lista de NFs pagas no mesmo pagamento realizado |
Collection of ExtratoPagamentoNFDTO |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CodCliente": 1,
"NumeroContasAPagar": 2,
"NFs": [
{
"NroNotaFiscal": "sample string 1",
"DataPagamento": "2026-02-13T21:25:48.8726446-03:00",
"ValorPagoNF": 3.0,
"ValorTotalPago": 4.0
},
{
"NroNotaFiscal": "sample string 1",
"DataPagamento": "2026-02-13T21:25:48.8726446-03:00",
"ValorPagoNF": 3.0,
"ValorTotalPago": 4.0
}
]
},
{
"CodCliente": 1,
"NumeroContasAPagar": 2,
"NFs": [
{
"NroNotaFiscal": "sample string 1",
"DataPagamento": "2026-02-13T21:25:48.8726446-03:00",
"ValorPagoNF": 3.0,
"ValorTotalPago": 4.0
},
{
"NroNotaFiscal": "sample string 1",
"DataPagamento": "2026-02-13T21:25:48.8726446-03:00",
"ValorPagoNF": 3.0,
"ValorTotalPago": 4.0
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfExtratoPagamentoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transicold.Garantia.Web.Api.Models">
<ExtratoPagamentoDTO>
<CodCliente>1</CodCliente>
<NFs>
<ExtratoPagamentoNFDTO>
<DataPagamento>2026-02-13T21:25:48.8726446-03:00</DataPagamento>
<NroNotaFiscal>sample string 1</NroNotaFiscal>
<ValorPagoNF>3</ValorPagoNF>
<ValorTotalPago>4</ValorTotalPago>
</ExtratoPagamentoNFDTO>
<ExtratoPagamentoNFDTO>
<DataPagamento>2026-02-13T21:25:48.8726446-03:00</DataPagamento>
<NroNotaFiscal>sample string 1</NroNotaFiscal>
<ValorPagoNF>3</ValorPagoNF>
<ValorTotalPago>4</ValorTotalPago>
</ExtratoPagamentoNFDTO>
</NFs>
<NumeroContasAPagar>2</NumeroContasAPagar>
</ExtratoPagamentoDTO>
<ExtratoPagamentoDTO>
<CodCliente>1</CodCliente>
<NFs>
<ExtratoPagamentoNFDTO>
<DataPagamento>2026-02-13T21:25:48.8726446-03:00</DataPagamento>
<NroNotaFiscal>sample string 1</NroNotaFiscal>
<ValorPagoNF>3</ValorPagoNF>
<ValorTotalPago>4</ValorTotalPago>
</ExtratoPagamentoNFDTO>
<ExtratoPagamentoNFDTO>
<DataPagamento>2026-02-13T21:25:48.8726446-03:00</DataPagamento>
<NroNotaFiscal>sample string 1</NroNotaFiscal>
<ValorPagoNF>3</ValorPagoNF>
<ValorTotalPago>4</ValorTotalPago>
</ExtratoPagamentoNFDTO>
</NFs>
<NumeroContasAPagar>2</NumeroContasAPagar>
</ExtratoPagamentoDTO>
</ArrayOfExtratoPagamentoDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.