API Docs Início Documentação Referência de API Copiar para LLM
GET/v{version}/CreditNote/Export/excel
Crédito · Operação de crédito

Exporta operações de crédito em formato Excel com base nos filtros informados

Lista e filtra registros de Credit Note.

Visão geral

Exporta operações de crédito em formato Excel com base nos filtros informados

Autenticação e pré-requisitos

Requer autenticação. Envie o token no header Authorization: Bearer {{token}} (JWT do AWS Cognito). Integrações servidor-a-servidor podem usar X-Api-Key. Todo tráfego é HTTPS e a credencial nunca vai na URL nem em query string.

Request

Parâmetros

NomeEmTipoObrigatórioDescriçãoExemplo
versionpathstringobrigatório1
CreditNoteNoqueryintegeropcional10
SearchStringquerystringopcionalvalor
PersonIdquerystring (uuid)opcional3fa85f64-5717-4562-b3fc-2c963f66afa6
PersonDisplayquerystringopcionalvalor
InitialDatequerystring (date-time)opcionalvalor
FinalDatequerystring (date-time)opcionalvalor
InitialPaymentDatequerystring (date-time)opcionalvalor
FinalPaymentDatequerystring (date-time)opcionalvalor
IsDeletedquerybooleanopcionaltrue
MinValuequeryinteger (int64)opcional10
MaxValuequeryinteger (int64)opcional10
FilterByOwnerquerystringopcionalvalor
FilterByOwnerGroupquerystringopcionalvalor
ProductCategoryDisplayquerystringopcionalvalor
RelatedPersonsqueryarray de stringopcionalvalor
Statusqueryarray de stringopcionalvalor
Assignedquerybooleanopcionaltrue
OwnLiquidationquerybooleanopcionaltrue
OwnCompliancequerybooleanopcionaltrue
OnlySharedquerybooleanopcionaltrue
LiquidationModequerystringopcionalvalor
ProductIdquerystring (uuid)opcional3fa85f64-5717-4562-b3fc-2c963f66afa6
ClosureStatusquerystringopcionalvalor
LiquidationModeListqueryarray de stringopcionalvalor
ProductCategoryDisplayListqueryarray de stringopcionalvalor
ProductIdListqueryarray de string (uuid)opcional3fa85f64-5717-4562-b3fc-2c963f66afa6
PersonIdListqueryarray de string (uuid)opcional3fa85f64-5717-4562-b3fc-2c963f66afa6
FilterByOwnerGroupListqueryarray de stringopcionalvalor
FilterByCorbanListqueryarray de stringopcionalvalor
MinimumInterestRatequerynumber (double)opcional100.00
MaximumInterestRatequerynumber (double)opcional100.00
MinOpAprquerynumber (double)opcional100.00
MaxOpAprquerynumber (double)opcional100.00
FilterByObservationsquerystringopcionalvalor
Insurancequerybooleanopcionaltrue
InitialScheduleDueDatequerystring (date-time)opcionalvalor
FinalScheduleDueDatequerystring (date-time)opcionalvalor

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200 sem corpo (Success).

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.Success

Exemplos

curl -X GET "{{baseUrl}}/v1/CreditNote/Export/excel" \
  -H "Authorization: Bearer {{token}}"
var baseUrl = "{{baseUrl}}";
var token   = "{{token}}";

using var http = new HttpClient { BaseAddress = new Uri(baseUrl) };
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", token);

var rota = "/v1/CreditNote/Export/excel";

var resp = await http.GetAsync(rota);
resp.EnsureSuccessStatusCode();
// Sem corpo de resposta neste endpoint.
const baseUrl = '{{baseUrl}}';
const token   = '{{token}}';

const resp = await fetch(`${baseUrl}/v1/CreditNote/Export/excel`, {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
// Sem corpo de resposta neste endpoint.

Troque apenas {{baseUrl}} e {{token}}. No Postman, defina-os como variáveis de environment; o cURL importa em Import > Raw text.

Downloads

Este endpoint já vem configurado nas collections abaixo, na pasta da etapa correspondente.

Guia de importação: Como importar no Postman · Todos os downloads: Downloads