POST api/Account/CreateUser
Request Information
URI Parameters
None.
Body Parameters
CreateUserRequestModelName | Description | Type | Additional information |
---|---|---|---|
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. |
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": "2024-11-29T09:46:30.0232341+11:00" }
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>2024-11-28T22:46:30.0232341Z</d2p1:DateTime> <d2p1:OffsetMinutes>660</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> <password>sample string 2</password> <preferred_name>sample string 6</preferred_name> <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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.