<back to all web services
UpdateUserProfileRequest
The following routes are available for this service:PUT | /user/profile | | |
---|
UpdateUserProfileRequest Parameters:Name | Parameter | Data Type | Required | Description |
---|
UserProfileDto | body | UserProfileDto | No | |
UserProfileDto Parameters:Name | Parameter | Data Type | Required | Description |
---|
Id | form | long | No | |
Email | 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 | |
LanguageCode Enum:Name | Value | |
---|
de | 1 | |
fr | 2 | |
it | 3 | |
Country Enum:Name | Value | |
---|
Switzerland | 1 | |
Germany | 2 | |
Austria | 3 | |
Salutation Enum:Name | Value | |
---|
MISTER | 1 | |
MISSES | 2 | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
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/xml
Content-Type: application/xml
Content-Length: length
<UpdateUserProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/heilog.ch.Api.ServiceModel.User">
<UserProfileDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/heilog.ch.Api.Dto.User">
<d2p1:Address>String</d2p1:Address>
<d2p1:Address2>String</d2p1:Address2>
<d2p1:City>String</d2p1:City>
<d2p1:Company>String</d2p1:Company>
<d2p1:CompanyAdditional>String</d2p1:CompanyAdditional>
<d2p1:CountryEnum>Switzerland</d2p1:CountryEnum>
<d2p1:Email>String</d2p1:Email>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:Id>0</d2p1:Id>
<d2p1:LanguageCode>de</d2p1:LanguageCode>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:PhoneNumber>String</d2p1:PhoneNumber>
<d2p1:PostalCode>String</d2p1:PostalCode>
<d2p1:Salutation>MISTER</d2p1:Salutation>
<d2p1:TherapistNumber1>String</d2p1:TherapistNumber1>
<d2p1:TherapistNumber2>String</d2p1:TherapistNumber2>
<d2p1:TherapistNumber3>String</d2p1:TherapistNumber3>
<d2p1:TherapistNumber4>String</d2p1:TherapistNumber4>
<d2p1:TherapistNumber5>String</d2p1:TherapistNumber5>
</UserProfileDto>
</UpdateUserProfileRequest>