heilog.ch.Api

<back to all web services

UpdateUserProfileRequest

The following routes are available for this service:
PUT/user/profile
UpdateUserProfileRequest Parameters:
NameParameterData TypeRequiredDescription
UserProfileDtobodyUserProfileDtoNo
UserProfileDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
EmailformstringNo
PhoneNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
CompanyformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
PostalCodeformstringNo
LanguageCodeformLanguageCodeNo
CompanyAdditionalformstringNo
CountryEnumformCountryNo
SalutationformSalutationNo
TherapistNumber1formstringNo
TherapistNumber2formstringNo
TherapistNumber3formstringNo
TherapistNumber4formstringNo
TherapistNumber5formstringNo
LanguageCode Enum:
NameValue
de1
fr2
it3
Country Enum:
NameValue
Switzerland1
Germany2
Austria3
Salutation Enum:
NameValue
MISTER1
MISSES2

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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"}}