Input Parameters:
| Name | XML Input Parameter | Type | Description | Mandatory (M) /Optional (O) | Possible Values |
|---|---|---|---|---|---|
| Account Fields | <com:AccountFields> more info |
Array Of FieldDTOs | Internal Account Fields such as Business Name, Country, State e.t.c | Business Name is mandatory(M) field.
Account number is a mandatory field in case the generateAccountNumberIndicator is false. (M) BizInfo-Country is a mandatory field. (M) |
e.g.: BusinessNameDTO 1. Type: GENERAL 2. Name: BizInfo-BusinessName 3. Index: 0 4. Label: Business Name 5. Value: GORMAN MANUFACTURING CountryDTO 1. Type: GENERAL 2. Name: BizInfo-Country 3. Index: 1 4. Label: Country 5. Value: US |
| Application Number | <com:ApplicationNumber> more info |
Text | Application Number of the Credit Application from which the Account values need to be populated. | This is an optional (O) field. In case the application Number is not provided the account would be created from scratch using only the requested account values | e.g.: FXTHGTR |
| Credit Terms | <com:CreditTerms> more info |
CreditTermsDTO | Credit Terms for the account to be created | This is an optional (O) field. In case this is not provided, the credit terms would be the same in the created account as that of the credit application. | e.g.: CreditTermsDTO: 1. Credit Limit: 10000 2. Credit Terms Status: Active 3. Early Payment Discount: 12 4. Payment Terms: Payment Terms |
| Generate Account ID Indicator | <com:GenerateAccountIdIndicator> more info |
Boolean | This flag instructs the service whether or not an account Number is generated automatically for the account. | This is a mandatory (M) field. If set to TRUE, the service would generate a random account number for the created account. If set to false, it would only use the account number provided in the request using the account fields. | e.g.: true |
Output Parameters
| Name | XML Input Parameter | Type | Description | Possible Values |
|---|---|---|---|---|
| Account Created Indicator | <accountCreatedIndicator> more info |
Boolean | This flag indicates whether or not the account got created. | e.g.: true |
| Account ID | <accountId> more info |
Text | The Account Number of the created account . | e.g.: DNB-GHTY564JH |
InvalidArgumentException - If any of the fields provided is errored, the system will throw an InvalidArgumentExceptionException.
MandatoryFieldsMissingException � If any one of the mandatory fields is not provided in the request, the system will throw an MandatoryFieldsMissingExceptionException Exception.
DuplicateAccountIDException- If the account number provided in the request already exists in the portfolio, the system will throw an DuplicateAccountIDExceptionException Exception.
CreditApplicationIdNotfoundException- If the application number provided does not exist in the user portfolio, the system will throw an CreditApplicationIdNotfoundException Exception.