GET

/Report

Usage Notes

When

  • Retrieve completed report
  • Download report results after generation complete

Requirements

  • Reference parameter (GUID from POST response)
  • Report must be in complete status

Notes

  • Stage 3 of 3-stage workflow
  • Returns report content or download link

Description

Retrieves completed report content using reference GUID.

Required Headers - See Authentication

HeaderValueDescription
Authorization{accessToken}Bearer token for API access
Version2.0API version identifier

Query Parameters

Parameter Type Required Description
reference >
string
The GUID reference returned from the POST /Report endpoint to identify the specific report request.
reference
string
The GUID reference returned from the POST /Report endpoint to identify the specific report request.

Example Requests

bash
# Get completed report results
curl -X GET 'https://api.7g.com.au/Report?reference=a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
  -H 'Authorization: {accessToken}' \
  -H 'Version: 2.0'

Response Examples

json
{
  "result": true,
  "message": "",
  "data": {
    "reportName": "EntityBalanceReport",
    "generatedDate": "2024-01-15T09:30:00Z",
    "parameters": {
      "ProductID": "123",
      "FromDate": "2024-01-01",
      "ToDate": "2024-12-31",
      "IncludeClosingBalances": "true"
    },
    "results": [
      {
        "entityID": 12345,
        "externalBizEntityId": "ENT-001",
        "entityName": "Sample Investment Fund",
        "totalBalance": 1250000.00,
        "currency": "AUD",
        "lastTransactionDate": "2024-01-12",
        "accounts": [
          {
            "accountID": 789,
            "externalAccountId": "ACC-001",
            "accountNumber": "ACC-2024-001",
            "balance": 750000.00,
            "units": 306122.45,
            "lastTransactionDate": "2024-01-10"
          },
          {
            "accountID": 790,
            "externalAccountId": "ACC-002",
            "accountNumber": "ACC-2024-002",
            "balance": 500000.00,
            "units": 204081.63,
            "lastTransactionDate": "2024-01-12"
          }
        ]
      }
    ],
    "summary": {
      "totalEntities": 1,
      "totalAccounts": 2,
      "grandTotalBalance": 1250000.00,
      "grandTotalUnits": 510204.08,
      "averageBalance": 625000.00,
      "reportGenerationTime": "00:00:45"
    }
  }
}