Account Structure Service REST Endpoints

Account Services/Account Structure Service
This service is used to create Virtual Account Structure. Through this service, Virtual accounts can be mapped to a real account and the structure can be linked to various virtual accounts as per the customer requirement.
Adds a new account structures
Method: post
Path: /service/accountstructures
Close the Account Structure by given Natural Key
Method: patch
Path: /service/accountstructures/{virtualMainAcc}/close
Fetches the list of linked child account's Number by given Virtual Account Number
Method: get
Path: /service/accountstructures/linkedChildAccounts/{virtualAccountNo}
Get all valid account structures
Method: get
Path: /service/accountstructures
Get all valid account structures by customer
Method: get
Path: /service/accountstructures/getByCustomer
Linking or Delinking a virtual account in the existing Account Structure
Method: put
Path: /service/accountstructures/modifystructure
Retrieves the account structures by ID
Method: get
Path: /service/accountstructures/download
Retrieves the account structures by virtualMainAcc with account balances
Method: get
Path: /service/accountstructures/{virtualMainAcc}/withAccountBalance
Retrieves the account structures by virtualMainAcc with account balances and child count
Method: get
Path: /service/accountstructures/{virtualMainAcc}/viewaccountstructure
Returns all VA that is part of the given customer and structure code
Method: get
Path: /service/accountstructures/viewvainstructure
Update an existing account structures
Method: put
Path: /service/accountstructures/{virtualMainAcc}