POST Register

Register a new user

Request Information

URI Parameters

None.

Body Parameters

registerHelperModelPost
NameDescriptionTypeAdditional information
clinic_id

integer

None.

session_id

string

None.

title

string

None.

forename

string

None.

surname

string

None.

gender

string

None.

password

string

None.

user_type

integer

None.

GMC

string

None.

authpin

string

None.

username

string

None.

email

string

None.

mobile

string

None.

home_telephone

string

None.

clinic_name

string

None.

clinic_telephone

string

None.

address_title

string

None.

address

string

None.

town

string

None.

city

string

None.

county

string

None.

postcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "clinic_id": 1,
  "session_id": "sample string 2",
  "title": "sample string 3",
  "forename": "sample string 4",
  "surname": "sample string 5",
  "gender": "sample string 6",
  "password": "sample string 7",
  "user_type": 8,
  "GMC": "sample string 9",
  "authpin": "sample string 10",
  "username": "sample string 11",
  "email": "sample string 12",
  "mobile": "sample string 13",
  "home_telephone": "sample string 14",
  "clinic_name": "sample string 15",
  "clinic_telephone": "sample string 16",
  "address_title": "sample string 17",
  "address": "sample string 18",
  "town": "sample string 19",
  "city": "sample string 20",
  "county": "sample string 21",
  "postcode": "sample string 22"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReplyRegister
NameDescriptionTypeAdditional information
pin_number

string

None.

doctor_id

integer

None.

status

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "pin_number": "sample string 1",
  "doctor_id": 2,
  "status": 3,
  "message": "sample string 4"
}