POST api/THPatient

Request Information

URI Parameters

None.

Body Parameters

THPatientModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

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

String length: inclusive between 0 and 1

ContactNumber

string

Matching regular expression pattern: ^[\+?]*\d+\s*$

String length: inclusive between 0 and 10

Email

string

None.

MaritalStatus

string

String length: inclusive between 0 and 3

MemberId

globally unique identifier

None.

Address1

string

String length: inclusive between 0 and 50

Address2

string

String length: inclusive between 0 and 50

Zipcode

string

String length: inclusive between 0 and 10

LocationId

globally unique identifier

None.

AccountId

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": "99363278-d3f7-4ba0-a4be-767db112a01c",
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "LastName": "sample string 3",
  "DOB": "2026-03-21T16:59:36.4547645-05:00",
  "Gender": "sample string 4",
  "ContactNumber": "sample string 5",
  "Email": "sample string 6",
  "MaritalStatus": "sample string 7",
  "MemberId": "2dc944f9-b2c3-4c7d-b308-72e114e460db",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "Zipcode": "sample string 10",
  "LocationId": "bc872a33-d4ee-4bbb-9131-7b7a757222e8",
  "AccountId": "baa4c8fd-0658-4c1a-80a6-4c1b6467242b"
}

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.