Pular para o conteúdo

Get a report

Requisição

Here, you apply the report-id from the List reports operation as the path parameter to get a downloadlink containing the report.

Download the report at the link in the downloadLink field in the response.

Segurança
Bearer
Caminho
report-idstring, (uuid)obrigatório

Unique identifier for a report.

Exemplo:497f6eca-6276-4993-bfeb-53cbbbba6f08
curl -i -X GET \
  https://docs.ripple.com/_mock/pt-br/products/payments-odl/api-docs/report_service/reference/openapi/v1/reports/497f6eca-6276-4993-bfeb-53cbbbba6f08 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Respostas

Returns the JSON record of the report specified in the path parameter

Corpoapplication/json
reportIdstring, (uuid)obrigatório

Unique identifier for a report.

Exemplo:"497f6eca-6276-4993-bfeb-53cbbbba6f08"
reportNamestring, [ 1 .. 256 ] characters

User defined name of the report.

Exemplo:"My custom report"
reportTypestringobrigatório

The report type of the downloadable report.

Enum ValueDescription
PAYMENT_OPS

Basic payment report suitable for high-level payment investigation and reporting.
View Payment report data fields.

RECON

Reconciliation report suitable for reconciliation and detailed state-by-state investigation.
View Reconciliation report data fields.

FAILURE_CONVERSION_SSA

Failure conversion & SSA report suitable for failed payments investigation.
View Failure conversion & SSA report data fields.

reportFormatstringobrigatório

The report format of the downloadable report.

Enum ValueDescription
CSV

A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record.

JSON

JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays.

reportStatusstringobrigatório

The status of the report.

Enum ValueDescription
PENDING

Report isn't ready for download.

READY

Report is ready for download.

FAILED

Unable generate the report.

EMPTY

Report has no transactions for the date range.

Exemplo:"READY"
startDatestring, (date-time)obrigatório

The ISO-8601 start date (inclusive) for a requested report.

Exemplo:"2018-04-06T19:33:35Z"
endDatestring, (date-time)obrigatório

The ISO-8601 end date (inclusive) for a requested report.

Note: Must be after startDate, but no more than 90 days after.

Exemplo:"2018-04-06T20:33:35Z"
createdOnstring, (date-time)

Report creation time

Exemplo:"2018-04-06T20:33:35Z"
reportCreatedBystring, [ 1 .. 128 ] characters

Identifies the entity that initiated the report creation.

ValueDescription
SCHEDULERAutomated system-generated report initiated by the scheduler.
APIUser-generated report initiated through the API.
[full name]Full name of the user who initiated the creation of the report through the UI.
nullLegacy support for older reports.
Exemplo:"Norma Jean"
Resposta
{ "reportId": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "reportName": "My custom report", "reportType": "PAYMENT_OPS", "reportFormat": "CSV", "reportStatus": "READY", "startDate": "2018-04-06T19:33:35Z", "endDate": "2018-04-06T20:33:35Z", "createdOn": "2018-04-06T20:33:35Z", "downloadLink": "https://reporting-test.rnc.ripplenet.com/v1/reports/download/497f6eca-6276-4993-bfeb-53cbbbba6f08", "reportCreatedBy": "Norma Jean" }