POST api/Users/UpsertUser
Request Information
URI Parameters
None.
Body Parameters
SfUser| Name | Description | Type | Additional information |
|---|---|---|---|
| UserKey | string |
None. |
|
| SpecialityKey | string |
None. |
|
| ProfessionalTitleEn | string |
None. |
|
| ProfessionalTitleAr | string |
None. |
|
| AboutTheDoctorEn | string |
None. |
|
| AboutTheDoctorAr | string |
None. |
|
| ProfileImage | string |
None. |
|
| EmailAddress | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| OffersHomeVisits | boolean |
None. |
|
| Gender | integer |
None. |
|
| TitleId | integer |
None. |
|
| PrefixTitleId | integer |
None. |
|
| LicenseImage | string |
None. |
|
| FirstNameAr | string |
None. |
|
| LastNameAr | string |
None. |
|
| FirstNameEn | string |
None. |
|
| LastNameEn | string |
None. |
|
| BirthDate | date |
None. |
|
| TitleImage | string |
None. |
|
| IsMobileVerified | boolean |
None. |
|
| MobileNumber | string |
None. |
|
| Phone1 | string |
None. |
|
| MessageSenderText | string |
None. |
|
| GraduationYear | string |
None. |
|
| CreatedFrom | string |
None. |
|
| NationalId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserKey": "sample string 1",
"SpecialityKey": "sample string 2",
"ProfessionalTitleEn": "sample string 3",
"ProfessionalTitleAr": "sample string 4",
"AboutTheDoctorEn": "sample string 5",
"AboutTheDoctorAr": "sample string 6",
"ProfileImage": "sample string 7",
"EmailAddress": "sample string 8",
"IsActive": true,
"IsDeleted": true,
"OffersHomeVisits": true,
"Gender": 1,
"TitleId": 1,
"PrefixTitleId": 1,
"LicenseImage": "sample string 9",
"FirstNameAr": "sample string 10",
"LastNameAr": "sample string 11",
"FirstNameEn": "sample string 12",
"LastNameEn": "sample string 13",
"BirthDate": "2025-10-28T19:24:28.7513372+03:00",
"TitleImage": "sample string 14",
"IsMobileVerified": true,
"MobileNumber": "sample string 15",
"Phone1": "sample string 16",
"MessageSenderText": "sample string 17",
"GraduationYear": "sample string 18",
"CreatedFrom": "sample string 19",
"NationalId": "sample string 20"
}
application/xml, text/xml
Sample:
<SfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VezeetaCrmApi.Models"> <AboutTheDoctorAr>sample string 6</AboutTheDoctorAr> <AboutTheDoctorEn>sample string 5</AboutTheDoctorEn> <BirthDate>2025-10-28T19:24:28.7513372+03:00</BirthDate> <CreatedFrom>sample string 19</CreatedFrom> <EmailAddress>sample string 8</EmailAddress> <FirstNameAr>sample string 10</FirstNameAr> <FirstNameEn>sample string 12</FirstNameEn> <Gender>1</Gender> <GraduationYear>sample string 18</GraduationYear> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsMobileVerified>true</IsMobileVerified> <LastNameAr>sample string 11</LastNameAr> <LastNameEn>sample string 13</LastNameEn> <LicenseImage>sample string 9</LicenseImage> <MessageSenderText>sample string 17</MessageSenderText> <MobileNumber>sample string 15</MobileNumber> <NationalId>sample string 20</NationalId> <OffersHomeVisits>true</OffersHomeVisits> <Phone1>sample string 16</Phone1> <PrefixTitleId>1</PrefixTitleId> <ProfessionalTitleAr>sample string 4</ProfessionalTitleAr> <ProfessionalTitleEn>sample string 3</ProfessionalTitleEn> <ProfileImage>sample string 7</ProfileImage> <SpecialityKey>sample string 2</SpecialityKey> <TitleId>1</TitleId> <TitleImage>sample string 14</TitleImage> <UserKey>sample string 1</UserKey> </SfUser>
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. |