using Gr4vy;
using Gr4vy.Models.Components;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
var res = await sdk.Reports.Executions.GetAsync(reportExecutionId: "003bc416-f32a-420c-8eb2-062a386e1fb0");
// handle response{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"status": "dispatched",
"context": {
"reference_timestamp": "2023-11-07T05:31:56Z",
"reference_timezone": "<string>"
},
"report": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_account_id": "<string>",
"name": "<string>",
"type": "report",
"creator_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"creator_display_name": "Jane Doe",
"creator_type": "user"
},
"type": "report-execution"
}Fetch a specific executed report.
using Gr4vy;
using Gr4vy.Models.Components;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
var res = await sdk.Reports.Executions.GetAsync(reportExecutionId: "003bc416-f32a-420c-8eb2-062a386e1fb0");
// handle response{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"status": "dispatched",
"context": {
"reference_timestamp": "2023-11-07T05:31:56Z",
"reference_timezone": "<string>"
},
"report": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant_account_id": "<string>",
"name": "<string>",
"type": "report",
"creator_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"creator_display_name": "Jane Doe",
"creator_type": "user"
},
"type": "report-execution"
}This endpoint requires theDocumentation Index
Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
Use this file to discover all available pages before exploring further.
reports.read scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account to use for this request.
"default"
The ID of the execution of a report to retrieve details for.
"003bc416-f32a-420c-8eb2-062a386e1fb0"
Successful Response
The unique ID for the report execution.
"a1b2c3d4-5678-90ab-cdef-1234567890ab"
The date this report execution was created at.
"2024-05-30T12:34:56.000Z"
The date this report execution was last updated.
"2024-05-30T13:00:00.000Z"
The status of the report execution.
dispatched, failed, pending, processing, succeeded "succeeded"
The context for the report execution.
Show child attributes
The report this execution belongs to.
Show child attributes
Always report-execution.
"report-execution""report-execution"