POST api/MPatient/MobPost
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": "3baa2032-fda8-4923-a2a5-c530a318a028",
"FirstName": "sample string 2",
"MiddleName": "sample string 3",
"LastName": "sample string 4",
"DOB": "2026-02-03T21:02:20.3532159-06:00",
"Gender": "sample string 5",
"ContactNumber": "sample string 6",
"MaritalStatus": "sample string 7",
"MemberId": "019646de-7c51-4e57-ac1f-1ccf6755d5d6",
"Prefix": "sample string 9",
"AccountId": "d3a69ff3-a463-4e8a-bbc7-d7b9d92f6642"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.