title: API_Defining an array
body: <p>How can I define array below in Intellij? I am sending this API request and getting error:</p>
  
  <pre><code>sharedAccountDetails [
  Account details.
  SharedAccountItem{
  accountNumber string
  Account number of the user. 
  
  accountName string
  Account name of the user. 
  
  accountType string
  
  Account type saving/current etc.
  
  branchCode string
  Branch Code. 
  
  
  }] 
  </code></pre>
  
  <p>This is my request below:</p>
  
  <pre><code>And request { 'channel': 'email'}
  
  And request { 'accountNumber': '000000000'}
  And request { 'accountName': 'Mr Bytes C'}
  And request { 'accountType': 'Current Account'}
  And request { 'branchCode': '000'} 
  </code></pre>
  
  <p>It is requesting for the arrays. how do I define them?
  Thanks in advance.
  Regards,
  Tshilidzi</p>