Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inputs (Array of Accounts) inherits from EntityBase

Name
Type
Description
MandatoryAvailable from version
BrickIdGuidNot used.  
OwnerAccountLabelString

Label of the account

  
OwnerGuidOwner of the accountTrue 
AccountTypeKeyStringThe account type key of the account. Available account types can be found in BFS admin by navigating to System Data -> Account typesTrue 
BaseCurrencyCodeStringThe base currency of the account. Available currencies can be found in BFS admin by navigating to System Data -> CurrenciesTrue 
AccountStatusInteger

1=Open

2=Closed

4=Hidden (hidden on customer front end)

  
ExternalReferenceStringExternal reference of the account  
AllocationTemplateGuid (Nullable)If the account should be associated with an allocation template  
RequestReferenceStringAn external reference that's provided by the requester. Can be used to map the returned BrickId on requesters side.  
AcquisitionValueCalculationMethodStringDetermines the method to be used for calculating the acquisition value of positions within the account. Default is "Average" which sums together the value for each purchase and uses that value as the acquisition value for a sale. If nothing is entered as the input it will default to "Average". For some instances "FIFO" will be available as a selection and this will show in the back office GUI.  

 

Outputs

Name
Type
Description
EntitiesArray

All accounts in the request is returned along with each accounts BrickId, AccountNo and array of Errors per account

Code Block
languagexml
themeRDark
titleXML request example
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <CreateAccounts xmlns="http://tempuri.org/">
      <req>
        <Credentials>
          <UserName>yourusername</UserName>
          <Password>yourpassword</Password>
        </Credentials>
        <identify>youridentifier</identify>
        <Entities>
          <Account>
            <BrickId>00000000-0000-0000-0000-000000000000</BrickId>
            <OwnerAccountLabel>Test</OwnerAccountLabel>
            <Owner>9eefe173-8d54-4dc3-b8f7-5ac7bccdeec6</Owner>
            <AccountTypeKey>HoldingAccount</AccountTypeKey>
            <BaseCurrencyCode>SEK</BaseCurrencyCode>
            <AccountStatus xsi:nil="true" />
            <AllocationTemplate>00000000-0000-0000-0000-000000000000</AllocationTemplate>
            <ExternalReference>123456789</ExternalReference>
          </Account>
        </Entities>
      </req>
    </CreateAccounts>
  </s:Body>

...