Skip to main content
Aria Knowledge Central

Formatting Recursive Arrays

Several APIs include recursive arrays, allowing you to create or perform actions on more than a single object within Aria. These arrays, in turn, might include arrays within them, and so on, to whatever level of depth is required for the given objects. Two fields within create_acct_complete_m,<acct> and <supp_plan>, are examples of recursive arrays.

A simple example for referencing the <acct> field when creating multiple accounts is shown below.

REST Input Field Names

 

cac_m Call 1

 

PA02 (parent account created by cac_m Call 1)

cac_m Call 2

A1 (parent)

acct[0]

A2 (child of PA02)

acct[1]

A1.1

acct[0][acct][0]

A1.2

acct[0][acct][1]

A2.1

acct[1][acct][0]

A2.2

acct[1][acct][1]

A1.1.1

acct[0][acct][0][acct][0]

 

 

A2.2.1

acct[1][acct][1][acct][0]

  • Was this article helpful?