POST api/account/client/{clientID}/v2
Update a client account version 2
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientID |
Unique client identifier |
integer |
Required |
Body Parameters
New values of client attributes
ClientAccountUpdateV2| Name | Description | Type | Additional information |
|---|---|---|---|
| BrokerageTemplateExternalRef |
Brokerage template external reference if specified, must match reference ('BrokerageCode') of brokerage template associated with the brand. |
string |
String length: inclusive between 0 and 100 |
| ContractNoteEmails |
A list of email addresses that are sent contract PDFs (this is in addition to the primary account holder). If set will replace all existing. |
Collection of ContractNoteEmail |
String length: inclusive between 0 and 1000 |
| ContractNoteComments |
Default text that is to be displayed on the contract PDFs sent to the client |
string |
String length: inclusive between 0 and 1000 |
| PrincipalTrading |
If specified and set to true, the client is flagged as a PrincipalTrading account |
boolean |
None. |
| Status |
Status can be set to Suspended to trigger account closure |
enClientStatus |
None. |
| AdvisorRef |
Advisor Reference ("Advisor Code"). This must match ExternalReference of existing Advisor account. If not set, will be associated with default Advisor account. |
string |
String length: inclusive between 0 and 100 |
| GSTScheduleRef |
Reference to GST Schedule to be applied to the client If not specified, the client will be set to the full GST Rate schedule |
string |
String length: inclusive between 0 and 100 |
| ClassSuperAccess |
If specified and set to true, the access of Class Super - HTTPS Interface Group is enabled, otherwise disabled access of Class Super - HTTPS Interface Group if any. |
boolean |
None. |
| BlockOrder |
If specified and set to true, the client is blocked from order creation or amendment |
boolean |
None. |
| HouseAccount |
Optional. If specified and set to true, the client is setup with no sponsorship |
boolean |
None. |
| HINProtection |
Optional. If specified and set to true, the HIN Protection will be enabled for the client |
boolean |
None. |
| ShortSell |
Optional. If specified and set to true, short sell will be enabled for the client |
boolean |
None. |
| Trust |
Trust details of account holder |
TrustUpdate |
None. |
| Super |
Superannuation details |
TrustUpdate |
None. |
| ClientName |
Client Name |
string |
None. |
| ClientNameExtension |
Client name extension |
string |
None. |
| PostalAddress |
Postal address |
AddressV2 |
None. |
| PostContractNotes |
If set to true then contract notes will be posted primary account holder. By default contract notes will be emailed |
boolean |
None. |
| CashAccounts |
Cash accounts. A list of cash accounts that can be used for funding with direct access from TPP |
Collection of ClientAccountUpdateV2+FundingBankAccountUpdate |
None. |
| Persons |
List of persons associated with the account |
Collection of ClientAccountUpdateV2+ClientPersonUpdate |
None. |
| CompanyID |
Company ID of account owner, or where trust / super / minor details are included this specifies the company that is the trustee |
integer |
None. |
| NominatedBankAccounts |
Nominated bank accounts. A list of nominated bank accounts for broker sponsored client |
Collection of ClientAccountUpdateV2+FundingBankAccountUpdate |
None. |
| InternationalBankAccounts |
International Bank Accounts. |
Collection of ClientAccountUpdateV2+InternationalBankUpdate |
None. |
| IssuerSponsoredRegistration |
Issuer sponsored registration details |
IssuerSponsoredRegistration |
None. |
| ThirdPartyRegistration |
Third party registration details |
ClientAccountUpdateV2+ThirdPartyRegistrationUpdate |
None. |
Request Formats
application/json, text/json
{
"BrokerageTemplateExternalRef": "REF0001",
"ContractNoteEmails": [
{
"EmailAddress": "testemail@testemail.com"
}
],
"ContractNoteComments": "",
"PrincipalTrading": true,
"Status": 3,
"AdvisorRef": "258970",
"GSTScheduleRef": "Default",
"ClassSuperAccess": false,
"BlockOrder": false,
"HouseAccount": false,
"HINProtection": false,
"ShortSell": false,
"Trust": {
"TrustType": 1,
"Designation": "CLEAR TRUST ACCOUNT",
"TFN": "862793498",
"ABN": "50673789893"
},
"Super": {
"TrustType": 1,
"Designation": "CLEAR SUPERANNUATION FUND",
"TFNExemptionType": 1,
"ABN": "50673789893"
},
"ClientName": "John Smith",
"ClientNameExtension": "Mr",
"PostalAddress": {
"Address1": "123 DOWN STREET",
"Address2": "WILLOW LANE",
"Address3": "",
"Address4": "",
"Suburb": "LOWTOWN",
"State": "WA",
"Postcode": "12445",
"Country": "AUSTRALIA"
},
"PostContractNotes": true,
"CashAccounts": [
{
"AccountName": "Test Account",
"BSB": "013986",
"AccountNumber": "12345678",
"AllowBuyFunding": true,
"AllowSellFunding": true,
"IsBuyFundingDefault": true,
"IsSellFundingDefault": true,
"IsDividendDefault": true
}
],
"Persons": [
{
"PersonID": 23412,
"IsPrincipal": true,
"OwnershipType": 1,
"ClientRelationshipTypes": [
5
]
}
],
"CompanyID": 12345,
"NominatedBankAccounts": [
{
"AccountName": "Test Account",
"BSB": "013986",
"AccountNumber": "12345678",
"AllowBuyFunding": true,
"AllowSellFunding": true,
"IsBuyFundingDefault": true,
"IsSellFundingDefault": true,
"IsDividendDefault": true
}
],
"InternationalBankAccounts": [
{
"InternationalBankName": "MayBank",
"InternationalBankAddress": {
"Address1": "Mr John Smith",
"Address2": "71 POHLMAN STREET",
"Address3": "SOUTHPORT QLD",
"Address4": "",
"Suburb": null,
"State": null,
"Postcode": null,
"Country": null
},
"BeneficiaryName": "John Smith",
"BeneficiaryAddress": {
"Address1": "Mr John Smith",
"Address2": "71 POHLMAN STREET",
"Address3": "SOUTHPORT QLD",
"Address4": "",
"Suburb": null,
"State": null,
"Postcode": null,
"Country": null
},
"CountryCode": "MYS",
"AccountNumber": "1001923781265",
"SWIFTCode": "",
"CurrencyCode": "MYR",
"FeesBorneBy": 1,
"AllowBuyFunding": false,
"AllowSellFunding": false,
"IsBuyFundingDefault": false,
"IsSellFundingDefault": false,
"IsETODefault": false,
"IsDividendDefault": false,
"IsFundsTransferDefault": false
}
],
"IssuerSponsoredRegistration": {
"RegistrationAddress": {
"RegAddress1": "Mr John Smith",
"RegAddress2": "71 POHLMAN STREET",
"RegAddress3": "SOUTHPORT QLD",
"RegAddress4": "",
"RegAddress5": "",
"RegAddress6": " 4215"
}
},
"ThirdPartyRegistration": {
"PID": 2552,
"FacilityId": "20012425",
"SupplementaryFormat": "53951236",
"ContactName": "Mr John Smith",
"ContactNumber": "0355721888",
"SettlementProviderID": 123
}
}
application/xml, text/xml
<ClientAccountUpdateV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account">
<BrokerageTemplateExternalRef i:type="x:string" xmlns="">REF0001</BrokerageTemplateExternalRef>
<ContractNoteEmails xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:ArrayOfContractNoteEmail" xmlns="">
<d2p1:ContractNoteEmail>
<d2p1:EmailAddress>testemail@testemail.com</d2p1:EmailAddress>
</d2p1:ContractNoteEmail>
</ContractNoteEmails>
<ContractNoteComments i:type="x:string" xmlns=""></ContractNoteComments>
<PrincipalTrading i:type="x:boolean" xmlns="">true</PrincipalTrading>
<Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.Utilities" i:type="d2p1:enClientStatus" xmlns="">Suspended</Status>
<AdvisorRef i:type="x:string" xmlns="">258970</AdvisorRef>
<GSTScheduleRef i:type="x:string" xmlns="">Default</GSTScheduleRef>
<ClassSuperAccess i:type="x:boolean" xmlns="">false</ClassSuperAccess>
<BlockOrder i:type="x:boolean" xmlns="">false</BlockOrder>
<HouseAccount i:type="x:boolean" xmlns="">false</HouseAccount>
<HINProtection i:type="x:boolean" xmlns="">false</HINProtection>
<ShortSell i:type="x:boolean" xmlns="">false</ShortSell>
<Trust xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:TrustUpdate" xmlns="">
<TrustType xmlns:d3p1="http://schemas.datacontract.org/2004/07/TPP.Utilities" i:type="d3p1:enTrusteeType">Company</TrustType>
<Designation i:type="x:string">CLEAR TRUST ACCOUNT</Designation>
<TFN i:type="x:string">862793498</TFN>
<ABN i:type="x:string">50673789893</ABN>
</Trust>
<Super xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:TrustUpdate" xmlns="">
<TrustType xmlns:d3p1="http://schemas.datacontract.org/2004/07/TPP.Utilities" i:type="d3p1:enTrusteeType">Company</TrustType>
<Designation i:type="x:string">CLEAR SUPERANNUATION FUND</Designation>
<TFNExemptionType xmlns:d3p1="http://schemas.datacontract.org/2004/07/TPP.Utilities" i:type="d3p1:enTaxExemptionCode">tfnExempt00000000000</TFNExemptionType>
<ABN i:type="x:string">50673789893</ABN>
</Super>
<ClientName i:type="x:string" xmlns="">John Smith</ClientName>
<ClientNameExtension i:type="x:string" xmlns="">Mr</ClientNameExtension>
<PostalAddress xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:AddressV2" xmlns="">
<d2p1:Address1>123 DOWN STREET</d2p1:Address1>
<d2p1:Address2>WILLOW LANE</d2p1:Address2>
<d2p1:Address3></d2p1:Address3>
<d2p1:Address4></d2p1:Address4>
<d2p1:Country>AUSTRALIA</d2p1:Country>
<d2p1:Postcode>12445</d2p1:Postcode>
<d2p1:State>WA</d2p1:State>
<d2p1:Suburb>LOWTOWN</d2p1:Suburb>
</PostalAddress>
<PostContractNotes i:type="x:boolean" xmlns="">true</PostContractNotes>
<CashAccounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:ArrayOfClientAccountUpdateV2.FundingBankAccountUpdate" xmlns="">
<d2p1:ClientAccountUpdateV2.FundingBankAccountUpdate>
<AccountName i:type="x:string">Test Account</AccountName>
<BSB i:type="x:string">013986</BSB>
<AccountNumber i:type="x:string">12345678</AccountNumber>
<AllowBuyFunding i:type="x:boolean">true</AllowBuyFunding>
<AllowSellFunding i:type="x:boolean">true</AllowSellFunding>
<IsBuyFundingDefault i:type="x:boolean">true</IsBuyFundingDefault>
<IsSellFundingDefault i:type="x:boolean">true</IsSellFundingDefault>
<IsDividendDefault i:type="x:boolean">true</IsDividendDefault>
</d2p1:ClientAccountUpdateV2.FundingBankAccountUpdate>
</CashAccounts>
<Persons xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:ArrayOfClientAccountUpdateV2.ClientPersonUpdate" xmlns="">
<d2p1:ClientAccountUpdateV2.ClientPersonUpdate>
<PersonID i:type="x:int">23412</PersonID>
<IsPrincipal i:type="x:boolean">true</IsPrincipal>
<OwnershipType xmlns:d4p1="http://schemas.datacontract.org/2004/07/TPP.Utilities" i:type="d4p1:enClientOwnershipType">AccountHolder</OwnershipType>
<ClientRelationshipTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/TPP.Utilities" i:type="d4p1:ArrayOfenClientRelationshipType">
<d4p1:enClientRelationshipType>BeneficialOwner</d4p1:enClientRelationshipType>
</ClientRelationshipTypes>
</d2p1:ClientAccountUpdateV2.ClientPersonUpdate>
</Persons>
<CompanyID i:type="x:int" xmlns="">12345</CompanyID>
<NominatedBankAccounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:ArrayOfClientAccountUpdateV2.FundingBankAccountUpdate" xmlns="">
<d2p1:ClientAccountUpdateV2.FundingBankAccountUpdate>
<AccountName i:type="x:string">Test Account</AccountName>
<BSB i:type="x:string">013986</BSB>
<AccountNumber i:type="x:string">12345678</AccountNumber>
<AllowBuyFunding i:type="x:boolean">true</AllowBuyFunding>
<AllowSellFunding i:type="x:boolean">true</AllowSellFunding>
<IsBuyFundingDefault i:type="x:boolean">true</IsBuyFundingDefault>
<IsSellFundingDefault i:type="x:boolean">true</IsSellFundingDefault>
<IsDividendDefault i:type="x:boolean">true</IsDividendDefault>
</d2p1:ClientAccountUpdateV2.FundingBankAccountUpdate>
</NominatedBankAccounts>
<InternationalBankAccounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:ArrayOfClientAccountUpdateV2.InternationalBankUpdate" xmlns="">
<d2p1:ClientAccountUpdateV2.InternationalBankUpdate>
<InternationalBankName i:type="x:string">MayBank</InternationalBankName>
<InternationalBankAddress xmlns="" i:type="AddressDetails">
<Address1>Mr John Smith</Address1>
<Address2>71 POHLMAN STREET</Address2>
<Address3>SOUTHPORT QLD</Address3>
<Address4></Address4>
<Suburb i:nil="true" />
<State i:nil="true" />
<Postcode i:nil="true" />
<Country i:nil="true" />
</InternationalBankAddress>
<BeneficiaryName i:type="x:string">John Smith</BeneficiaryName>
<BeneficiaryAddress xmlns="" i:type="AddressDetails">
<Address1>Mr John Smith</Address1>
<Address2>71 POHLMAN STREET</Address2>
<Address3>SOUTHPORT QLD</Address3>
<Address4></Address4>
<Suburb i:nil="true" />
<State i:nil="true" />
<Postcode i:nil="true" />
<Country i:nil="true" />
</BeneficiaryAddress>
<CountryCode i:type="x:string">MYS</CountryCode>
<AccountNumber i:type="x:string">1001923781265</AccountNumber>
<SWIFTCode i:type="x:string"></SWIFTCode>
<CurrencyCode i:type="x:string">MYR</CurrencyCode>
<FeesBorneBy i:type="x:int">1</FeesBorneBy>
<AllowBuyFunding i:type="x:boolean">false</AllowBuyFunding>
<AllowSellFunding i:type="x:boolean">false</AllowSellFunding>
<IsBuyFundingDefault i:type="x:boolean">false</IsBuyFundingDefault>
<IsSellFundingDefault i:type="x:boolean">false</IsSellFundingDefault>
<IsETODefault i:type="x:boolean">false</IsETODefault>
<IsDividendDefault i:type="x:boolean">false</IsDividendDefault>
<IsFundsTransferDefault i:type="x:boolean">false</IsFundsTransferDefault>
</d2p1:ClientAccountUpdateV2.InternationalBankUpdate>
</InternationalBankAccounts>
<IssuerSponsoredRegistration xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:IssuerSponsoredRegistration" xmlns="">
<d2p1:RegistrationAddress>
<d2p1:RegAddress1>Mr John Smith</d2p1:RegAddress1>
<d2p1:RegAddress2>71 POHLMAN STREET</d2p1:RegAddress2>
<d2p1:RegAddress3>SOUTHPORT QLD</d2p1:RegAddress3>
<d2p1:RegAddress4></d2p1:RegAddress4>
<d2p1:RegAddress5></d2p1:RegAddress5>
<d2p1:RegAddress6> 4215</d2p1:RegAddress6>
</d2p1:RegistrationAddress>
</IssuerSponsoredRegistration>
<ThirdPartyRegistration xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account" i:type="d2p1:ClientAccountUpdateV2.ThirdPartyRegistrationUpdate" xmlns="">
<PID i:type="x:int">2552</PID>
<FacilityId i:type="x:string">20012425</FacilityId>
<SupplementaryFormat i:type="x:string">53951236</SupplementaryFormat>
<ContactName i:type="x:string">Mr John Smith</ContactName>
<ContactNumber i:type="x:string">0355721888</ContactNumber>
<SettlementProviderID i:type="x:int">123</SettlementProviderID>
</ThirdPartyRegistration>
</ClientAccountUpdateV2>
Response Information
Resource Description
ClientAccountUpdateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID |
An identifier of updated client |
integer |
None. |
Response Formats
application/json, text/json
{
"ClientID": 100500
}
application/xml, text/xml
<ClientAccountUpdateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Account"> <ClientID>100500</ClientID> </ClientAccountUpdateResult>
Error Response Information
Resource Description
BadRequestResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Error |
None. |
Error Response Formats
application/json, text/json
{
"Errors": [
{
"Code": 10025,
"Description": "sample string 1"
},
{
"Code": 10025,
"Description": "sample string 1"
}
]
}
application/xml, text/xml
<BadRequestResultOfenClientUpdateErrorYd1IcMMv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.ErrorResponse">
<Errors>
<ErrorOfenClientUpdateErrorYd1IcMMv>
<Code>ClientRegistrationAddress</Code>
<Description>sample string 1</Description>
</ErrorOfenClientUpdateErrorYd1IcMMv>
<ErrorOfenClientUpdateErrorYd1IcMMv>
<Code>ClientRegistrationAddress</Code>
<Description>sample string 1</Description>
</ErrorOfenClientUpdateErrorYd1IcMMv>
</Errors>
</BadRequestResultOfenClientUpdateErrorYd1IcMMv>