POST api/THPatient
Request Information
URI Parameters
None.
Body Parameters
THPatientModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
FirstName | string |
Required String length: inclusive between 0 and 50 |
|
MiddleName | string |
String length: inclusive between 0 and 50 |
|
LastName | string |
Required String length: inclusive between 0 and 50 |
|
DOB | date |
Required Data type: DateTime |
|
Gender | string |
Required String length: inclusive between 0 and 1 |
|
ContactNumber | string |
Matching regular expression pattern: ^[\+?]*\d+\s*$ String length: inclusive between 0 and 10 |
|
string |
None. |
||
MaritalStatus | string |
String length: inclusive between 0 and 3 |
|
MemberId | globally unique identifier |
None. |
|
Address1 | string |
String length: inclusive between 0 and 50 |
|
Address2 | string |
String length: inclusive between 0 and 50 |
|
Zipcode | string |
String length: inclusive between 0 and 10 |
|
LocationId | globally unique identifier |
None. |
|
AccountId | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": "b76cc1e2-22ab-484e-8046-aefdc3eba021", "FirstName": "sample string 1", "MiddleName": "sample string 2", "LastName": "sample string 3", "DOB": "2025-06-08T16:20:28.1421925+05:30", "Gender": "sample string 4", "ContactNumber": "sample string 5", "Email": "sample string 6", "MaritalStatus": "sample string 7", "MemberId": "02a25ccb-fcac-4146-97fb-46943c5bca07", "Address1": "sample string 8", "Address2": "sample string 9", "Zipcode": "sample string 10", "LocationId": "6a3f7842-bf2d-4ca9-9987-fe3475ace48a", "AccountId": "ba29ada2-8ee2-4bc7-b2e9-a2bc352c8719" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.