POST api/MPatient/Post
Request Information
URI Parameters
None.
Body Parameters
MPatient| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
|
| 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 Matching regular expression pattern: ^[F,M|f,m|o O]+$ String length: inclusive between 0 and 1 |
|
| ContactNumber | string |
None. |
|
| MaritalStatus | string |
String length: inclusive between 0 and 3 |
|
| MemberId | globally unique identifier |
Required |
|
| Prefix | string |
None. |
|
| AccountId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "5e9559e6-2e1a-4ec8-a0c1-0819f7c41548",
"FirstName": "sample string 2",
"MiddleName": "sample string 3",
"LastName": "sample string 4",
"DOB": "2025-12-18T13:10:05.7580266-06:00",
"Gender": "sample string 5",
"ContactNumber": "sample string 6",
"MaritalStatus": "sample string 7",
"MemberId": "9b1d2da2-b26e-4fbe-aa7c-10e4d81356c1",
"Prefix": "sample string 9",
"AccountId": "7f5d170b-5926-40fd-bf62-434c3716f66d"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.