POST _api/EDMSAPI/NewAcctRequest

Request Information

URI Parameters

None.

Body Parameters

AcctOpeningParam
NameDescriptionTypeAdditional information
AccountNumber

string

Required

Max length: 10

AccountName

string

Required

BVN

string

Max length: 11

BranchCode

string

None.

BranchName

string

None.

AccountType

string

Required

CustomerType

string

Required

CustomerID

string

Required

DateOpened

string

Required

EmailAddress

string

None.

ChannelType

string

Required

UserDocuments

Collection of SupportingDocs

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountNumber": "sample string 1",
  "AccountName": "sample string 2",
  "BVN": "sample string 3",
  "BranchCode": "sample string 4",
  "BranchName": "sample string 5",
  "AccountType": "sample string 6",
  "CustomerType": "sample string 7",
  "CustomerID": "sample string 8",
  "DateOpened": "sample string 9",
  "EmailAddress": "sample string 10",
  "ChannelType": "sample string 11",
  "UserDocuments": [
    {
      "Base64": "sample string 1",
      "FileType": "sample string 2",
      "DocumentName": "sample string 3"
    },
    {
      "Base64": "sample string 1",
      "FileType": "sample string 2",
      "DocumentName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<AcctOpeningParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SigEDMSAPI.Models">
  <AccountName>sample string 2</AccountName>
  <AccountNumber>sample string 1</AccountNumber>
  <AccountType>sample string 6</AccountType>
  <BVN>sample string 3</BVN>
  <BranchCode>sample string 4</BranchCode>
  <BranchName>sample string 5</BranchName>
  <ChannelType>sample string 11</ChannelType>
  <CustomerID>sample string 8</CustomerID>
  <CustomerType>sample string 7</CustomerType>
  <DateOpened>sample string 9</DateOpened>
  <EmailAddress>sample string 10</EmailAddress>
  <UserDocuments>
    <SupportingDocs>
      <Base64>sample string 1</Base64>
      <DocumentName>sample string 3</DocumentName>
      <FileType>sample string 2</FileType>
    </SupportingDocs>
    <SupportingDocs>
      <Base64>sample string 1</Base64>
      <DocumentName>sample string 3</DocumentName>
      <FileType>sample string 2</FileType>
    </SupportingDocs>
  </UserDocuments>
</AcctOpeningParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AcctOpeningParam'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.