Create member account
1 min
POST
/api/v1/member/create/
Header Parameters
- X-Product-IdstringrequiredDescription
Body Parameters
- bodyAccountrequired
- emailstring<email>required
- titlestring
- first_namestringrequired
- last_namestringrequired
- dobstring<date>requiredDescription
- genderstringrequired
- mobilestring
- addressesMemberAddresses[]required
- address_typestring<Postal | Residential>
- address_line1string
- address_line2string
- suburbstring
- statestring
- postcodestring
- countrystring<AU | AF | AX | AL | DZ | AS | AD | AO | AI | AQ | AG | AR | AM | AW | AT | AZ | BS | BH | BD | BB | BY | BE | BZ | BJ | BM | BT | BO | BQ | BA | BW | BV | BR | IO | BN | BG | BF | BI | CV | KH | CM | CA | KY | CF | TD | CL | CN | CX | CC | CO | KM | CG | CD | CK | CR | CI | HR | CU | CW | CY | CZ | DK | DJ | DM | DO | EC | EG | SV | GQ | ER | EE | SZ | ET | FK | FO | FJ | FI | FR | GF | PF | TF | GA | GM | GE | DE | GH | GI | GR | GL | GD | GP | GU | GT | GG | GN | GW | GY | HT | HM | VA | HN | HK | HU | IS | IN | ID | IR | IQ | IE | IM | IL | IT | JM | JP | JE | JO | KZ | KE | KI | KW | KG | LA | LV | LB | LS | LR | LY | LI | LT | LU | MO | MG | MW | MY | MV | ML | MT | MH | MQ | MR | MU | YT | MX | FM | MD | MC | MN | ME | MS | MA | MZ | MM | NA | NR | NP | NL | NC | NZ | NI | NE | NG | NU | NF | KP | MK | MP | NO | OM | PK | PW | PS | PA | PG | PY | PE | PH | PN | PL | PT | PR | QA | RE | RO | RU | RW | BL | SH | KN | LC | MF | PM | VC | WS | SM | ST | SA | SN | RS | SC | SL | SG | SX | SK | SI | SB | SO | ZA | GS | KR | SS | ES | LK | SD | SR | SJ | SE | CH | SY | TW | TJ | TZ | TH | TL | TG | TK | TO | TT | TN | TR | TM | TC | TV | UG | UA | AE | GB | UM | US | UY | UZ | VU | VE | VN | VG | VI | WF | EH | YE | ZM | ZW | | >
- tfnstring
- investmentsInitialInvestment[]
- investment_portfoliostring
Form Parameters
- emailstring<email>required
- titlestring
- first_namestringrequired
- last_namestringrequired
- dobstring<date>requiredDescription
- genderstringrequired
- mobilestring
- addressesMemberAddresses[]required
- address_typestring<Postal | Residential>
- address_line1string
- address_line2string
- suburbstring
- statestring
- postcodestring
- countrystring<AU | AF | AX | AL | DZ | AS | AD | AO | AI | AQ | AG | AR | AM | AW | AT | AZ | BS | BH | BD | BB | BY | BE | BZ | BJ | BM | BT | BO | BQ | BA | BW | BV | BR | IO | BN | BG | BF | BI | CV | KH | CM | CA | KY | CF | TD | CL | CN | CX | CC | CO | KM | CG | CD | CK | CR | CI | HR | CU | CW | CY | CZ | DK | DJ | DM | DO | EC | EG | SV | GQ | ER | EE | SZ | ET | FK | FO | FJ | FI | FR | GF | PF | TF | GA | GM | GE | DE | GH | GI | GR | GL | GD | GP | GU | GT | GG | GN | GW | GY | HT | HM | VA | HN | HK | HU | IS | IN | ID | IR | IQ | IE | IM | IL | IT | JM | JP | JE | JO | KZ | KE | KI | KW | KG | LA | LV | LB | LS | LR | LY | LI | LT | LU | MO | MG | MW | MY | MV | ML | MT | MH | MQ | MR | MU | YT | MX | FM | MD | MC | MN | ME | MS | MA | MZ | MM | NA | NR | NP | NL | NC | NZ | NI | NE | NG | NU | NF | KP | MK | MP | NO | OM | PK | PW | PS | PA | PG | PY | PE | PH | PN | PL | PT | PR | QA | RE | RO | RU | RW | BL | SH | KN | LC | MF | PM | VC | WS | SM | ST | SA | SN | RS | SC | SL | SG | SX | SK | SI | SB | SO | ZA | GS | KR | SS | ES | LK | SD | SR | SJ | SE | CH | SY | TW | TJ | TZ | TH | TL | TG | TK | TO | TT | TN | TR | TM | TC | TV | UG | UA | AE | GB | UM | US | UY | UZ | VU | VE | VN | VG | VI | WF | EH | YE | ZM | ZW | | >
- tfnstring
- investmentsInitialInvestment[]
- investment_portfoliostring
Responses
201
- object
- objectDefaultv1:create_account
- account_idDefaultELMO12345678
400
- object
- objectDefaultv1:member:create_account
- status_codeDefault400
- messageDefault{"gender":"Value can only be M, F, or U.","code":"elmo_value_error"}
422
- object
- objectDefaultv1:member:create_account
- status_codeDefault422
- messageDefault{"error":"Email address already registered","member_number":"12345"}
curl
curl --location '/api/v1/member/create/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"email": "",
"title": "",
"first_name": "",
"last_name": "",
"dob": "",
"gender": "",
"mobile": "",
"addresses": [
{
"address_type": "",
"address_line1": "",
"address_line2": "",
"suburb": "",
"state": "",
"postcode": "",
"country": ""
}
],
"tfn": "",
"investments": [
{
"investment_portfolio": ""
}
]
}'javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({
"email": "",
"title": "",
"first_name": "",
"last_name": "",
"dob": "",
"gender": "",
"mobile": "",
"addresses": [
{
"address_type": "",
"address_line1": "",
"address_line2": "",
"suburb": "",
"state": "",
"postcode": "",
"country": ""
}
],
"tfn": "",
"investments": [
{
"investment_portfolio": ""
}
]
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("/api/v1/member/create/", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("/api/v1/member/create/")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Post.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"email": "",
"title": "",
"first_name": "",
"last_name": "",
"dob": "",
"gender": "",
"mobile": "",
"addresses": [
{
"address_type": "",
"address_line1": "",
"address_line2": "",
"suburb": "",
"state": "",
"postcode": "",
"country": ""
}
],
"tfn": "",
"investments": [
{
"investment_portfolio": ""
}
]
})
response = http.request(request)
puts response.read_body
python
import requests
import json
url = "/api/v1/member/create/"
payload = json.dumps({
"email": "",
"title": "",
"first_name": "",
"last_name": "",
"dob": "",
"gender": "",
"mobile": "",
"addresses": [
{
"address_type": "",
"address_line1": "",
"address_line2": "",
"suburb": "",
"state": "",
"postcode": "",
"country": ""
}
],
"tfn": "",
"investments": [
{
"investment_portfolio": ""
}
]
})
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
201
// Created.
{
"object": "",
"account_id": ""
}400
// Bad Request
{
"object": "",
"status_code": "",
"message": ""
}422
// Unprocessable Entity
{
"object": "",
"status_code": "",
"message": ""
}Opens member's account to receive contributions.
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.