POST api/Patient/AddPatient
Request Information
URI Parameters
None.
Body Parameters
CarePatientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName | string |
None. |
|
| MobilePhone | string |
None. |
|
| CountryCode | string |
None. |
|
| Address | string |
None. |
|
| PatientKey | string |
None. |
|
| Gender | boolean |
None. |
|
| BirthDate | date |
None. |
|
| Identifier | string |
None. |
|
| InsuranceProviderKey | string |
None. |
|
| HomeNumber | string |
None. |
|
| Notes | string |
None. |
|
| RelativeName | string |
None. |
|
| PatientRelativeId | integer |
None. |
|
| EmailAddress | string |
None. |
|
| CountryIsoCode | string |
None. |
|
| InsuranceProvider | Object |
None. |
|
| IsDeleted | boolean |
None. |
|
| PatientId | integer |
None. |
|
| InsuranceProviderId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FullName": "sample string 1",
"MobilePhone": "sample string 2",
"CountryCode": "sample string 3",
"Address": "sample string 4",
"PatientKey": "sample string 5",
"Gender": true,
"BirthDate": "2025-12-06T05:47:12.3510499+02:00",
"Identifier": "sample string 6",
"InsuranceProviderKey": "sample string 7",
"HomeNumber": "sample string 8",
"Notes": "sample string 9",
"RelativeName": "sample string 10",
"PatientRelativeId": 11,
"EmailAddress": "sample string 12",
"CountryIsoCode": "sample string 13",
"InsuranceProvider": {},
"IsDeleted": true,
"PatientId": 15,
"InsuranceProviderId": 1
}
application/xml, text/xml
Sample:
<CarePatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDoctorsApp.Models"> <Address>sample string 4</Address> <BirthDate>2025-12-06T05:47:12.3510499+02:00</BirthDate> <CountryCode>sample string 3</CountryCode> <CountryIsoCode>sample string 13</CountryIsoCode> <EmailAddress>sample string 12</EmailAddress> <FullName>sample string 1</FullName> <Gender>true</Gender> <HomeNumber>sample string 8</HomeNumber> <Identifier>sample string 6</Identifier> <InsuranceProvider /> <InsuranceProviderId>1</InsuranceProviderId> <InsuranceProviderKey>sample string 7</InsuranceProviderKey> <IsDeleted>true</IsDeleted> <MobilePhone>sample string 2</MobilePhone> <Notes>sample string 9</Notes> <PatientId>15</PatientId> <PatientKey>sample string 5</PatientKey> <PatientRelativeId>11</PatientRelativeId> <RelativeName>sample string 10</RelativeName> </CarePatientModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |