POST api/Patient?DBName={DBName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DBName

string

Required

Body Parameters

PatientModel
NameDescriptionTypeAdditional information
PatientId

integer

None.

Person

PersonModel

None.

FLashText

string

None.

IsDiabatic

boolean

None.

IsDeleted

boolean

None.

NextOfKinName

string

None.

NextOfKinRelation

string

None.

NextOfKinAddress

string

None.

BookingServiceType

BookingServiceTypeModel

None.

EmergencyContactName

string

None.

EmergencyContactNo

string

None.

VaccinationName

string

None.

VaccinationDose1Date

date

None.

VaccinationDose2Date

date

None.

VaccinationDoubleDose

boolean

None.

Height

string

None.

Weight

string

None.

TargetWeightMin

string

None.

TargetWeighMax

string

None.

TargetWeightReached

boolean

None.

BodyFrame

BodyFrameModel

None.

DiabeticReviewDate

date

None.

IsDeceased

boolean

None.

MemberDiabetesAus

boolean

None.

Conditions

Collection of ConditionModel

None.

ConcessionCardNo

string

None.

ConcessionCardExpDate

date

None.

SafetConcession

string

None.

SafetyEtitlement

string

None.

LoginName

string

None.

LoginPassword

string

None.

HeardAboutUs

string

None.

PrivateHealthFund

string

None.

ElectronicHealthRecord

string

None.

Is_company

boolean

None.

Company_name

string

None.

Abn

string

None.

Tax_vat_nbr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientId": 1,
  "Person": {
    "PersonId": 1,
    "Gender": "sample string 2",
    "DateModified": "2026-04-16T20:52:21.1339736+10:00",
    "Title": null,
    "FirstName": "sample string 4",
    "MiddleName": "sample string 5",
    "SurName": "sample string 6",
    "NickName": "sample string 7",
    "DateOfBirth": "2026-04-16T20:52:21.1339736+10:00",
    "AddedByCCName": "sample string 9",
    "IPAlertDisabled": true,
    "IPBlockDisabled": true,
    "DateAdded": "2026-04-16T20:52:21.1339736+10:00",
    "AddedByFirstName": "sample string 13",
    "AddedByMiddleName": "sample string 14",
    "AddedBySurName": "sample string 15",
    "PersonEntityID": 16
  },
  "FLashText": "sample string 2",
  "IsDiabatic": true,
  "IsDeleted": true,
  "NextOfKinName": "sample string 5",
  "NextOfKinRelation": "sample string 6",
  "NextOfKinAddress": "sample string 7",
  "BookingServiceType": null,
  "EmergencyContactName": "sample string 8",
  "EmergencyContactNo": "sample string 9",
  "VaccinationName": "sample string 10",
  "VaccinationDose1Date": "2026-04-16T20:52:21.1339736+10:00",
  "VaccinationDose2Date": "2026-04-16T20:52:21.1339736+10:00",
  "VaccinationDoubleDose": true,
  "Height": "sample string 14",
  "Weight": "sample string 15",
  "TargetWeightMin": "sample string 16",
  "TargetWeighMax": "sample string 17",
  "TargetWeightReached": true,
  "BodyFrame": null,
  "DiabeticReviewDate": "2026-04-16T20:52:21.1339736+10:00",
  "IsDeceased": true,
  "MemberDiabetesAus": true,
  "Conditions": [
    {
      "ConditionId": 1,
      "PatientId": 2,
      "Conditiondesc": "sample string 3",
      "ContiditonText": "sample string 4",
      "ConditionDate": "2026-04-16T20:52:21.1339736+10:00",
      "NWeeksDue": 6
    },
    {
      "ConditionId": 1,
      "PatientId": 2,
      "Conditiondesc": "sample string 3",
      "ContiditonText": "sample string 4",
      "ConditionDate": "2026-04-16T20:52:21.1339736+10:00",
      "NWeeksDue": 6
    }
  ],
  "ConcessionCardNo": "sample string 22",
  "ConcessionCardExpDate": "2026-04-16T20:52:21.1339736+10:00",
  "SafetConcession": "sample string 24",
  "SafetyEtitlement": "sample string 25",
  "LoginName": "sample string 26",
  "LoginPassword": "sample string 27",
  "HeardAboutUs": "sample string 28",
  "PrivateHealthFund": "sample string 29",
  "ElectronicHealthRecord": "sample string 30",
  "Is_company": true,
  "Company_name": "sample string 32",
  "Abn": "sample string 33",
  "Tax_vat_nbr": "sample string 34"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'MediClinicAPI.Models.BodyFrameModel' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'MediClinicAPI.Models.BodyFrameModel' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientModel'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>