VRPlatformVRPlatform
Teams

/teams/migrate-vri-to-vrt/statements/account-mappings

Retrieve required historical VRI statement account mappings and suggested target accounts

GET
/teams/migrate-vri-to-vrt/statements/account-mappings
X-API-Key<token>

API key provided in dashboard

In: header

Query Parameters

sourceTenantId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
targetTenantId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.vrplatform.app/teams/migrate-vri-to-vrt/statements/account-mappings?sourceTenantId=497f6eca-6276-4993-bfeb-53cbbbba6f08&targetTenantId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "effectiveGlStartAt": "string",
  "oldAccounts": [
    {
      "legacyAccountKey": "string",
      "legacyAccountRef": "string",
      "legacyAccountName": "string",
      "legacyClassification": "string",
      "sources": [
        "template"
      ],
      "suggestedTargetAccountId": "1d8c7f57-90cc-43e0-b62b-cccbf5c1c886",
      "suggestedTargetAccountTitle": "string"
    }
  ],
  "newAccounts": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "title": "string",
      "categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",
      "type": "string",
      "status": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "issues": [
    {
      "message": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "issues": [
    {
      "message": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "issues": [
    {
      "message": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "issues": [
    {
      "message": "string"
    }
  ],
  "context": null
}
{
  "code": "string",
  "message": "string",
  "issues": [
    {
      "message": "string"
    }
  ],
  "context": null
}