POST api/Garantia/AtualizaInfoPagto

Insere ou Atualiza detalhes do extrato do pagamento

Request Information

URI Parameters

None.

Body Parameters

Collection of ExtratoPagamentoDTO
NameDescriptionTypeAdditional 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-14T17:09:47.7118391-03:00",
        "ValorPagoNF": 3.0,
        "ValorTotalPago": 4.0
      },
      {
        "NroNotaFiscal": "sample string 1",
        "DataPagamento": "2026-02-14T17:09:47.7118391-03:00",
        "ValorPagoNF": 3.0,
        "ValorTotalPago": 4.0
      }
    ]
  },
  {
    "CodCliente": 1,
    "NumeroContasAPagar": 2,
    "NFs": [
      {
        "NroNotaFiscal": "sample string 1",
        "DataPagamento": "2026-02-14T17:09:47.7118391-03:00",
        "ValorPagoNF": 3.0,
        "ValorTotalPago": 4.0
      },
      {
        "NroNotaFiscal": "sample string 1",
        "DataPagamento": "2026-02-14T17:09:47.7118391-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-14T17:09:47.7118391-03:00</DataPagamento>
        <NroNotaFiscal>sample string 1</NroNotaFiscal>
        <ValorPagoNF>3</ValorPagoNF>
        <ValorTotalPago>4</ValorTotalPago>
      </ExtratoPagamentoNFDTO>
      <ExtratoPagamentoNFDTO>
        <DataPagamento>2026-02-14T17:09:47.7118391-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-14T17:09:47.7118391-03:00</DataPagamento>
        <NroNotaFiscal>sample string 1</NroNotaFiscal>
        <ValorPagoNF>3</ValorPagoNF>
        <ValorTotalPago>4</ValorTotalPago>
      </ExtratoPagamentoNFDTO>
      <ExtratoPagamentoNFDTO>
        <DataPagamento>2026-02-14T17:09:47.7118391-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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.