heilog.ch.Api

<back to all web services

GetUserProfileRequest

The following routes are available for this service:
GET/user/profile
GetUserProfileResponse Parameters:
NameParameterData TypeRequiredDescription
ProfileformUserProfileDtoNo
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 .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.

GET /user/profile HTTP/1.1 
Host: heidak-api.test.exanic.ch 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetUserProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/heilog.ch.Api.ServiceModel.User">
  <Profile 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>
  </Profile>
</GetUserProfileResponse>