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": "c688d78f-4e81-4da5-96a5-76e35111c9d4",
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "DOB": "2026-03-21T16:56:11.9893092-05:00",
  "Gender": "sample string 5",
  "ContactNumber": "sample string 6",
  "MaritalStatus": "sample string 7",
  "MemberId": "d74445a6-8e25-445f-864d-ba00f2c07054",
  "Prefix": "sample string 9",
  "AccountId": "e63f7028-d04b-4ff8-b7ab-871edfd781d6"
}

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.