POST api/Account/CreateUser

Request Information

URI Parameters

None.

Body Parameters

CreateUserRequestModel
NameDescriptionTypeAdditional information
email

string

None.

password

string

None.

firstname

string

None.

gender

string

None.

lastname

string

None.

preferred_name

string

None.

salutation

string

None.

identify_as_Aboriginal_and_or_Torres_Strait_Islander

string

None.

which_branch_do_you_want_to_join

string

None.

how_did_you_hear_about_SHPA

string

None.

homeAddress1

string

None.

homeAddress2

string

None.

homeSuburb

string

None.

homePostcode

string

None.

homeState

string

None.

homeCountry

string

None.

DOB

date

None.

pronoun

string

None.

otherPronoun

string

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "password": "sample string 2",
  "firstname": "sample string 3",
  "gender": "sample string 4",
  "lastname": "sample string 5",
  "preferred_name": "sample string 6",
  "salutation": "sample string 7",
  "identify_as_Aboriginal_and_or_Torres_Strait_Islander": "sample string 8",
  "which_branch_do_you_want_to_join": "sample string 9",
  "how_did_you_hear_about_SHPA": "sample string 10",
  "homeAddress1": "sample string 11",
  "homeAddress2": "sample string 12",
  "homeSuburb": "sample string 13",
  "homePostcode": "sample string 14",
  "homeState": "sample string 15",
  "homeCountry": "sample string 16",
  "DOB": "2025-07-01T20:57:17.9418089+10:00",
  "pronoun": "sample string 18",
  "otherPronoun": "sample string 19"
}

application/xml, text/xml

Sample:
<CreateUserRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Request">
  <DOB xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-07-01T10:57:17.9418089Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>600</d2p1:OffsetMinutes>
  </DOB>
  <email>sample string 1</email>
  <firstname>sample string 3</firstname>
  <gender>sample string 4</gender>
  <homeAddress1>sample string 11</homeAddress1>
  <homeAddress2>sample string 12</homeAddress2>
  <homeCountry>sample string 16</homeCountry>
  <homePostcode>sample string 14</homePostcode>
  <homeState>sample string 15</homeState>
  <homeSuburb>sample string 13</homeSuburb>
  <how_did_you_hear_about_SHPA>sample string 10</how_did_you_hear_about_SHPA>
  <identify_as_Aboriginal_and_or_Torres_Strait_Islander>sample string 8</identify_as_Aboriginal_and_or_Torres_Strait_Islander>
  <lastname>sample string 5</lastname>
  <otherPronoun>sample string 19</otherPronoun>
  <password>sample string 2</password>
  <preferred_name>sample string 6</preferred_name>
  <pronoun>sample string 18</pronoun>
  <salutation>sample string 7</salutation>
  <which_branch_do_you_want_to_join>sample string 9</which_branch_do_you_want_to_join>
</CreateUserRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.