POST api/MPatient/MobPost
Request Information
URI Parameters
None.
Body Parameters
MPatientName | 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": "3805d8ed-5f27-4012-abab-e7093842b1e3", "FirstName": "sample string 2", "MiddleName": "sample string 3", "LastName": "sample string 4", "DOB": "2025-06-08T16:17:55.6048726+05:30", "Gender": "sample string 5", "ContactNumber": "sample string 6", "MaritalStatus": "sample string 7", "MemberId": "96481bb3-323b-4108-8d56-ea9fb496d3cc", "Prefix": "sample string 9", "AccountId": "efe3c206-e725-49e2-aad5-297865477719" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.