POST api/MPatient/MobPost

Request Information

URI Parameters

None.

Body Parameters

MPatient
NameDescriptionTypeAdditional 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": "c9c7de1e-46d9-4b25-90e0-b3141114a566",
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "DOB": "2025-07-03T12:58:20.0114035-05:00",
  "Gender": "sample string 5",
  "ContactNumber": "sample string 6",
  "MaritalStatus": "sample string 7",
  "MemberId": "c72c6909-81ea-4e13-bdd0-58ef5faa5d5a",
  "Prefix": "sample string 9",
  "AccountId": "2f8179d6-a75f-411a-8187-03ab44aa3b56"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.