Non-JH
Overview
AcctAdd (Non-JH)
This operation allows you to create a deposit, loan, time deposit, safe deposit, or non-JH account.
Behavior
Within the request, submit the account ID and type along with the complex and simple elements containing the values you are using to create of the account.
The response contains an RsStat
element that indicates the result of the
operation, with a value of Success
when completed normally or a value of
HdrFault
if the provider is unable to complete the request.
XPath Elements
XPath Elements
For this business service, certain template fields, or XPath elements, are sent in on the request and corresponding elements are returned in the response.
The following tables list the elements that you send on the request and what is sent back in the response. Each table also includes any pertinent notes, such as element values or whether it is required for input.
XPath Element | File/Field | Description | Notes |
---|---|---|---|
ErrCode | JHFREFAPI.ERROVRRD | Error Override? | N/A |
AcctId | JHTNEW.ACCTNO | Account Number | N/A |
AcctType | JHTNEW.ACTYPE | Account Type | N/A |
CustID | JHTNEW.CIFNO | CIF Number | N/A |
BrCode | JHTNEW.BRANCH | Branch Number | N/A |
IncCombStmt | JHTNEW.COMBIN | Include Comb Stmt | N/A |
AcctLvlSecCode | JHTNEW.SECURE | Account Level Security | N/A |
AddlName.ComName | CFALTN.CFAAL1 | Additional Name #1 | N/A |
AddlName.ComName | CFALTN.CFAAL2 | Additional Name #2 | N/A |
UserDefTxt | CFPAR3.CP3UID | UIC Description 1–53 | There are 53 total elements available for you to enter information into. |
UserDefCode | CFPARB.CBFDFT | Field Default Value 1–53 | There are 53 total elements available for you to enter information into. |
CurBal | JHTNEW.CBAL | Current Balance | N/A |
ComName | CFALTN.CFNA1 | Alias Name | N/A |
FirstName | CFALTN.CFNA1 | Alias First Name | N/A |
MiddleName | CFALTN.CFNA1 | Alias Middle Name | N/A |
Last Name | CFALTN.CFNA1 | Alias Last Name | N/A |
AbbName | CFALTN.CFNA1 | Alias Short Name | N/A |
XPath Element | File/Field | Description | Notes |
---|---|---|---|
RsStat | JHFREFAPI.PASSFAIL | Pass/Fail Status | N/A |
Validations
Validations
Within the response, specific validations can appear in the response if incorrect or different information than what is required is sent in the request.
The following table lists the validations that can be returned and includes what prompts the error to occur.
Code | Element | System Message | Validation Trigger |
---|---|---|---|
2 | AcctType | Account already exists | Presents when the account number/type combination does not exist in the Non-JH Account Master File (JHMAST). |
2 | AcctId | Account already exists | Presents when the account number/type combination does not exist in the Non-JH Account Master File (JHMAST). |
6 | AcctId | Account number must be greater than zero | Presents when this element is less than or equal to zero. |
7 | AcctType | Account type is not valid | Presents when the value in this element is not found in the CIF Dummy Application Codes (CFPARD) file. |
40 | IncCombStmt | Include on combined statements flag must be Y or N | Presents when the value in this field is not equal to Y or N. |
43 | N/A | Date is not valid | Presents when the value of the date is not valid, such as fewer than six digits or all zeros. |
45 | N/A | Numeric data is not valid | Presents when a numeric value is not entered in this element. |
53 | CustID | Primary customer cannot be found | Presents when the customer cannot be found in the CIF Master File (CFMAST). |
65 | AcctLvlSecCode | Security override code is not valid | Presents when the value in this element is not equal to B, A, N, E, or blank. |
112 | N/A | Description is invalid | Presents when there is not user text with the user description. |
121 | N/A | Description not allowed during account input | Presents when the Field New Acct Entry (CBFINP) field in the CIF Information Definition for Generic Fields (CFPARB) is set to Y. |
130 | N/A | The value entered is longer than the field length | Presents when the value in this element is greater than 3. |
131 | N/A | Incorrect number of decimal places | Presents when the value sent does not have the correct decimal positions for the element. |
1005 | N/A | Date field has an invalid format | Presents when the date is not in a valid format, such as XX/XX/XXX or XX-XX-XXXX. |
600012 | AbbName | Short name is required | Presents when the ComName element is not blank, the
Individual field is set to Y and the
AbbName element is blank. |
600013 | ComName | Alternate name is required | Presents when the Individual field is set to
Y, the FirstName and
LastName elements are not blank, and the AbbName
element is blank. |
600014 | FirstName | First, Middle, and Last Name information required to build Alternate Short Name | Presents when the Individual field is set to Y and these elements are blank. |
600014 | LastName | First, Middle, and Last Name information required to build Alternate Short Name | Presents when the Individual field is set to Y and these elements are blank. |
600014 | MiddleName | First, Middle, and Last Name information required to build Alternate Short Name | Presents when the Individual field is set to Y and these elements are blank. |
The following table lists the validations that can be returned and includes what prompts the warning to occur.
Code | Element | System Message | Validation Trigger |
---|---|---|---|
90 | CustId | CIF account record was not added, requires a manual add | Presents when adding the account to the CIF Account File (CFACCT) fails. |
400027 | N/A | Customer name closely matches OFAC suspect | Presents when the OFAC search has a match or one that closely matches. |
402500 | N/A | No OFAC match found | Presents when the OFAC search does not have a match. |
402527 | N/A | OFAC matching word | Presents when checking for OFAC keywords and gets a match. |
Service Dictionary
Service Dictionary
Service Dictionary Search provides consumers a service that can convey a service provider's elements XSD path, requirements, default values, open enumerated canonical values, help/knowledge content, and fault codes per operation.
Within the SvcDictSrch
operation, you can send
AcctAdd in the SvcDictName
element and
Rq or Rs in the SvcDictType
element. Within the response, SvcDictSrch
returns all mapped elements,
including any newly mapped elements, and any elements that have specific allowed values.
SvcDictFilterCode
and ** in
SvcDictFilterVal
to get values specific for the loan account
application.