POST api/Account/RegisterClinic

Register Clinic

Request Information

URI Parameters

None.

Body Parameters

RegisterClinicViewModel
NameDescriptionTypeAdditional information
GenderTypeId

integer

Required

PracticeName

string

Required

TimezoneCode

string

Required

Address

string

Required

PhysicianFirstName

string

Required

PhysicianLastName

string

Required

IsMaleGender

boolean

None.

PhysicianSpecialty_Id

integer

Required

Country_Id

integer

None.

Email

string

Required

UserName

string

None.

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

Request Formats

application/json, text/json

Sample:
{
  "GenderTypeId": 1,
  "PracticeName": "sample string 2",
  "TimezoneCode": "sample string 3",
  "Address": "sample string 4",
  "PhysicianFirstName": "sample string 5",
  "PhysicianLastName": "sample string 6",
  "IsMaleGender": true,
  "PhysicianSpecialty_Id": 8,
  "Country_Id": 9,
  "Email": "sample string 10",
  "UserName": "sample string 11",
  "Password": "sample string 12",
  "ConfirmPassword": "sample string 13"
}

application/xml, text/xml

Sample:
<RegisterClinicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <Address>sample string 4</Address>
  <ConfirmPassword>sample string 13</ConfirmPassword>
  <Country_Id>9</Country_Id>
  <Email>sample string 10</Email>
  <GenderTypeId>1</GenderTypeId>
  <IsMaleGender>true</IsMaleGender>
  <Password>sample string 12</Password>
  <PhysicianFirstName>sample string 5</PhysicianFirstName>
  <PhysicianLastName>sample string 6</PhysicianLastName>
  <PhysicianSpecialty_Id>8</PhysicianSpecialty_Id>
  <PracticeName>sample string 2</PracticeName>
  <TimezoneCode>sample string 3</TimezoneCode>
  <UserName>sample string 11</UserName>
</RegisterClinicViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegisterClinicViewModel'.

Response Information

Resource Description

RegisterClinicViewModel
NameDescriptionTypeAdditional information
GenderTypeId

integer

Required

PracticeName

string

Required

TimezoneCode

string

Required

Address

string

Required

PhysicianFirstName

string

Required

PhysicianLastName

string

Required

IsMaleGender

boolean

None.

PhysicianSpecialty_Id

integer

Required

Country_Id

integer

None.

Email

string

Required

UserName

string

None.

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

Response Formats

application/json, text/json

Sample:
{
  "GenderTypeId": 1,
  "PracticeName": "sample string 2",
  "TimezoneCode": "sample string 3",
  "Address": "sample string 4",
  "PhysicianFirstName": "sample string 5",
  "PhysicianLastName": "sample string 6",
  "IsMaleGender": true,
  "PhysicianSpecialty_Id": 8,
  "Country_Id": 9,
  "Email": "sample string 10",
  "UserName": "sample string 11",
  "Password": "sample string 12",
  "ConfirmPassword": "sample string 13"
}

application/xml, text/xml

Sample:
<RegisterClinicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <Address>sample string 4</Address>
  <ConfirmPassword>sample string 13</ConfirmPassword>
  <Country_Id>9</Country_Id>
  <Email>sample string 10</Email>
  <GenderTypeId>1</GenderTypeId>
  <IsMaleGender>true</IsMaleGender>
  <Password>sample string 12</Password>
  <PhysicianFirstName>sample string 5</PhysicianFirstName>
  <PhysicianLastName>sample string 6</PhysicianLastName>
  <PhysicianSpecialty_Id>8</PhysicianSpecialty_Id>
  <PracticeName>sample string 2</PracticeName>
  <TimezoneCode>sample string 3</TimezoneCode>
  <UserName>sample string 11</UserName>
</RegisterClinicViewModel>