POST api/Patients/UpsertPatient
Request Information
URI Parameters
None.
Body Parameters
PatientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserKey | string |
None. |
|
| PatientKey | string |
None. |
|
| Name | string |
None. |
|
| MobileNumber | string |
None. |
|
| EmailAddress | string |
None. |
|
| BirthDate | date |
None. |
|
| Gender | integer |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserKey": "sample string 1",
"PatientKey": "sample string 2",
"Name": "sample string 3",
"MobileNumber": "sample string 4",
"EmailAddress": "sample string 5",
"BirthDate": "2025-10-28T19:27:32.814912+03:00",
"Gender": 1,
"IsDeleted": true
}
application/xml, text/xml
Sample:
<PatientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VezeetaCrmApi.Models"> <BirthDate>2025-10-28T19:27:32.814912+03:00</BirthDate> <EmailAddress>sample string 5</EmailAddress> <Gender>1</Gender> <IsDeleted>true</IsDeleted> <MobileNumber>sample string 4</MobileNumber> <Name>sample string 3</Name> <PatientKey>sample string 2</PatientKey> <UserKey>sample string 1</UserKey> </PatientModel>
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. |