PUT | /user/profile |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserProfileDto | body | UserProfileDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
form | string | No | ||
PhoneNumber | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Company | form | string | No | |
Address | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
PostalCode | form | string | No | |
LanguageCode | form | LanguageCode | No | |
CompanyAdditional | form | string | No | |
CountryEnum | form | Country | No | |
Salutation | form | Salutation | No | |
TherapistNumber1 | form | string | No | |
TherapistNumber2 | form | string | No | |
TherapistNumber3 | form | string | No | |
TherapistNumber4 | form | string | No | |
TherapistNumber5 | form | string | No |
Name | Value | |
---|---|---|
de | 1 | |
fr | 2 | |
it | 3 |
Name | Value | |
---|---|---|
Switzerland | 1 | |
Germany | 2 | |
Austria | 3 |
Name | Value | |
---|---|---|
MISTER | 1 | |
MISSES | 2 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /user/profile HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
userProfileDto:
{
id: 0,
email: String,
phoneNumber: String,
firstName: String,
lastName: String,
company: String,
address: String,
address2: String,
city: String,
postalCode: String,
languageCode: 1,
companyAdditional: String,
countryEnum: 1,
salutation: 1,
therapistNumber1: String,
therapistNumber2: String,
therapistNumber3: String,
therapistNumber4: String,
therapistNumber5: String
}
}