POST api/THPatient
Request Information
URI Parameters
None.
Body Parameters
THPatientModel| Name | 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": "5beb8bbe-8840-4e83-b884-db4421e223e6",
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"DOB": "2026-02-03T21:01:30.0374175-06:00",
"Gender": "sample string 4",
"ContactNumber": "sample string 5",
"Email": "sample string 6",
"MaritalStatus": "sample string 7",
"MemberId": "09d83ef6-3856-4e2e-9dcb-32700ec3f9ef",
"Address1": "sample string 8",
"Address2": "sample string 9",
"Zipcode": "sample string 10",
"LocationId": "8284ed5a-b4f5-4c41-88e4-b17a5ca15072",
"AccountId": "93bbe4e5-0d80-418c-a89a-34e52c22be3c"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.