POST api/Patient/PatientRegistration

Request Information

URI Parameters

None.

Body Parameters

PatientRegistrationViewModel
NameDescriptionTypeAdditional information
FirstName

string

Required

String length: inclusive between 0 and 50

LastName

string

Required

String length: inclusive between 0 and 50

DOB

date

Required

Gender

byte

Required

PhoneNo

string

Required

Matching regular expression pattern: ^(\d{10})$

HeightFeet

byte

Required

HeightInches

byte

None.

Weight

integer

Required

Range: inclusive between 0 and 2147483647

AddressLine

string

Required

String length: inclusive between 0 and 100

StateCode

string

Required

City

string

Required

String length: inclusive between 0 and 50

ZipCode

string

Required

String length: inclusive between 0 and 10

ReplacementSide

byte

Required

ScheduledSurgeryDate

date

None.

ProviderCode

string

Required

UserId

string

None.

ProviderUserId

string

None.

TenantID

string

None.

PhoneOperatingSystem

string

None.

Email

string

Required

Matching regular expression pattern: [A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}

String length: inclusive between 0 and 50

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "DOB": "2025-05-17T17:04:07.7303436+00:00",
  "Gender": 64,
  "PhoneNo": "sample string 5",
  "HeightFeet": 64,
  "HeightInches": 64,
  "Weight": 8,
  "AddressLine": "sample string 9",
  "StateCode": "sample string 10",
  "City": "sample string 11",
  "ZipCode": "sample string 12",
  "ReplacementSide": 64,
  "ScheduledSurgeryDate": "2025-05-17T17:04:07.7303436+00:00",
  "ProviderCode": "sample string 14",
  "UserId": "sample string 15",
  "ProviderUserId": "sample string 16",
  "TenantID": "sample string 17",
  "PhoneOperatingSystem": "sample string 18",
  "Email": "sample string 19",
  "Password": "sample string 20"
}

application/xml, text/xml

Sample:
<PatientRegistrationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.PatientsViewModels">
  <Email>sample string 19</Email>
  <Password>sample string 20</Password>
  <AddressLine>sample string 9</AddressLine>
  <City>sample string 11</City>
  <DOB>2025-05-17T17:04:07.7303436+00:00</DOB>
  <FirstName>sample string 1</FirstName>
  <Gender>64</Gender>
  <HeightFeet>64</HeightFeet>
  <HeightInches>64</HeightInches>
  <LastName>sample string 2</LastName>
  <PhoneNo>sample string 5</PhoneNo>
  <PhoneOperatingSystem>sample string 18</PhoneOperatingSystem>
  <ProviderCode>sample string 14</ProviderCode>
  <ProviderUserId>sample string 16</ProviderUserId>
  <ReplacementSide>64</ReplacementSide>
  <ScheduledSurgeryDate>2025-05-17T17:04:07.7303436+00:00</ScheduledSurgeryDate>
  <StateCode>sample string 10</StateCode>
  <TenantID>sample string 17</TenantID>
  <UserId>sample string 15</UserId>
  <Weight>8</Weight>
  <ZipCode>sample string 12</ZipCode>
</PatientRegistrationViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultViewModelOfPatientRegistrationCredentials
NameDescriptionTypeAdditional information
StatusCode

integer

None.

Success

boolean

None.

Message

string

None.

Result

PatientRegistrationCredentials

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "Success": true,
  "Message": "sample string 3",
  "Result": {
    "Email": "sample string 1",
    "Password": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ActionResultViewModelOfPatientRegistrationCredentials9WakHX_Pk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Web.ViewModels.ResultViewModels">
  <Message>sample string 3</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.PatientsViewModels">
    <d2p1:Email>sample string 1</d2p1:Email>
    <d2p1:Password>sample string 2</d2p1:Password>
  </Result>
  <StatusCode>1</StatusCode>
  <Success>true</Success>
</ActionResultViewModelOfPatientRegistrationCredentials9WakHX_Pk>