POST api/person/advisor-person

Create new advisor person

Request Information

URI Parameters

None.

Body Parameters

AdvisorPersonCreation
NameDescriptionTypeAdditional information
BrandID

Brand ID of new person

integer

Required

Username

Username for new person. Required for persons that are to access via TPP websites

string

None.

Salutation

Salutation of new person. Unless agreed with TPP, this field is required for both client and adviser persons

Salutation

None.

Firstname

First name of new person

string

Required

Lastname

Last name of new person

string

Required

DOB

Date of Birth. Unless agreed with TPP, this field is required for both client and adviser persons

string

None.

Email

Email address. Unless agreed with TPP, this field is required for both client and adviser persons

string

None.

Phonemobile

Mobile phone number. Unless agreed with TPP, one of Phonemobile, Phonehome or Phonework is required for both client and adviser persons

string

None.

Phonehome

Home phone number. Unless agreed with TPP, one of Phonemobile, Phonehome or Phonework is required for both client and adviser persons

string

None.

Phonework

Work phone number. Unless agreed with TPP, one of Phonemobile, Phonehome or Phonework is required for both client and adviser persons

string

None.

Fax

Fax number.

string

None.

ContactPreference

Person's contact preference. Unless agreed with TPP, this field is required for both client and adviser persons

enContactPreference

None.

TFN

Tax file number

string

String length: inclusive between 0 and 24

TFNExemptionType

Tax file number exemption reason if no tax file number

enTaxExemptionCode

None.

PhonePassword

Password used to identify person over the phone. Unless agreed with TPP, this field is required for client persons but is not required for adviser persons

string

None.

ResidentialAddress

Home address

AddressDetails

None.

PostalAddress

Postal address

AddressDetails

None.

IdentificationType

Identification type for person. Unless agreed with TPP, this field is required for both client and adviser persons

enIdentificationType

None.

Identification

Identification value. Unless agreed with TPP, this field is required for both client and adviser persons

string

None.

IdentificationStateOfIssue

Issue state. Mandatory where IdentificationType is DriverLicense and "DL card number required" setting is active on the person brand.

enIdentificationStateOfIssue

None.

IdentificationCardNo

Card number. Mandatory where IdentificationType is DriverLicense and "DL card number required" setting is active on the person brand and state of issue matches against the states selected in the platform setting.

string

None.

Employer

Employer name

string

None.

Occupation

Occupation of person

string

None.

Externalreference

Reference used to identify the person in an external system.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandID": 1,
  "Username": "johnsmith",
  "Salutation": "Mr",
  "Firstname": "John",
  "Lastname": "Smith",
  "DOB": "dd-MM-yyyy",
  "Email": "johnsmith@sample.com",
  "Phonemobile": "0418 888 999",
  "Phonehome": "",
  "Phonework": "",
  "Fax": "",
  "ContactPreference": 4,
  "TFN": "12345678",
  "TFNExemptionType": null,
  "PhonePassword": "1234",
  "ResidentialAddress": {
    "Address1": "TPP PTY LTD,",
    "Address2": "LEVEL 20",
    "Address3": "GOVERNOR PHILIP TOWER",
    "Address4": "1 FARRER PLACE",
    "Suburb": "SYDNEY",
    "State": "NSW",
    "Postcode": "2000",
    "Country": "AUSTRALIA"
  },
  "PostalAddress": null,
  "IdentificationType": 1,
  "Identification": "123123A",
  "IdentificationStateOfIssue": 1,
  "IdentificationCardNo": "487596",
  "Employer": "TPP",
  "Occupation": "QA Engineer",
  "Externalreference": "125930"
}

application/xml, text/xml

Sample:
<AdvisorPersonCreation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Person">
  <BrandID>1</BrandID>
  <ContactPreference>EmailAddress</ContactPreference>
  <DOB>dd-MM-yyyy</DOB>
  <Email>johnsmith@sample.com</Email>
  <Employer>TPP</Employer>
  <Externalreference>125930</Externalreference>
  <Fax></Fax>
  <Firstname>John</Firstname>
  <Identification>123123A</Identification>
  <IdentificationCardNo>487596</IdentificationCardNo>
  <IdentificationStateOfIssue>NSW</IdentificationStateOfIssue>
  <IdentificationType>DriverLicence</IdentificationType>
  <Lastname>Smith</Lastname>
  <Occupation>QA Engineer</Occupation>
  <PhonePassword>1234</PhonePassword>
  <Phonehome></Phonehome>
  <Phonemobile>0418 888 999</Phonemobile>
  <Phonework></Phonework>
  <PostalAddress i:nil="true" />
  <ResidentialAddress>
    <Address1 xmlns="">TPP PTY LTD,</Address1>
    <Address2 xmlns="">LEVEL 20</Address2>
    <Address3 xmlns="">GOVERNOR PHILIP TOWER</Address3>
    <Address4 xmlns="">1 FARRER PLACE</Address4>
    <Suburb xmlns="">SYDNEY</Suburb>
    <State xmlns="">NSW</State>
    <Postcode xmlns="">2000</Postcode>
    <Country xmlns="">AUSTRALIA</Country>
  </ResidentialAddress>
  <Salutation xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Utilities" />
  <TFN>12345678</TFN>
  <TFNExemptionType i:nil="true" />
  <Username>johnsmith</Username>
</AdvisorPersonCreation>

Response Information

Resource Description

AdvisorPersonCreationResult
NameDescriptionTypeAdditional information
PersonID

Person ID created

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PersonID": 12345
}

application/xml, text/xml

Sample:
<AdvisorPersonCreationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contract.Person">
  <PersonID>12345</PersonID>
</AdvisorPersonCreationResult>

Error Response Information

Resource Description

string

Error Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>