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.UrlAsync(
reportId: "4d4c7123-b794-4fad-b1b9-5ab2606e6bbe",
reportExecutionId: "003bc416-f32a-420c-8eb2-062a386e1fb0"
);
// handle response{
"url": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}Creates a download URL for a specific execution of a 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.UrlAsync(
reportId: "4d4c7123-b794-4fad-b1b9-5ab2606e6bbe",
reportExecutionId: "003bc416-f32a-420c-8eb2-062a386e1fb0"
);
// handle response{
"url": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}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 report to retrieve a URL for.
"4d4c7123-b794-4fad-b1b9-5ab2606e6bbe"
The ID of the execution of a report to retrieve a URL for.
"003bc416-f32a-420c-8eb2-062a386e1fb0"
The URL expiration time, in minutes.
1 <= x <= 100805