Account Module

The SCE's account request interface allows the user to determine the number and name of each account set up for the SCE in a given location. An account is defined as a set of setup files associated with an account number which starts at 1 and has a maximum value of 9,999. The setup files for a given account number configure the SCE to compute loans with protection in a particular manner.

The clients.set file (located in the same data/ directory as the other setup files) holds the name of each setup file. These names are user defined, and may be edited by you using any text editor. The first account name (corresponding to account #0001) is on the second line, with subsequent account names following on separate lines.

Sample Request

{
  "Module" : "Account",
  "Data" : {
    "DataPath" : "/etc/sce/",
    "Begin" : "1",
    "End" : "9999"
  }
}

Sample Response

{
  "Result" : 200,
  "Module" : "Account",
  "Data" : {
    "Errors" : [
    ],
    "Warnings" : [
    ],
    "DataPath" : "/etc/sce/data/",
    "Accounts" : [
      {
        "Account" : 1,
        "Title" : "Single Premium"
      },
      {
        "Account" : 2,
        "Title" : "MOB"
      },
      {
        "Account" : 3,
        "Title" : "True MOB"
      }
    ]
  }
}