<back to all web services
ContactFormRequest
The following routes are available for this service:| POST | /support | | |
|---|
ContactFormRequest Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| UserDetailDto | body | UserDetailDto | No | |
| Message | body | string | No | |
UserDetailDto Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Id | form | long | No | |
| LanguageCode | form | LanguageCode | No | |
| CompanyAdditional | form | string | No | |
| CountryEnum | form | Country | No | |
| LabelVersion | form | LabelVersion | No | |
| Email | form | string | No | |
| PrimaryEmail | form | string | No | |
| PhoneNumber | form | string | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| CustomerNumber | form | long? | No | |
| Company | form | string | No | |
| Address | form | string | No | |
| Address2 | form | string | No | |
| City | form | string | No | |
| Gender | form | string | No | |
| PostalCode | form | string | No | |
| Salutation | form | Salutation | No | |
| IsActive | form | bool | No | |
| IsStandardPharmacist | form | bool | No | |
| IsVisumRequired | form | bool | No | |
| InStockOnly | form | bool | No | |
| ShowEtOH | form | bool | No | |
| EmailNotifications | form | bool | No | |
| LockedDate | form | DateTime? | No | |
| Roles | form | List<string> | No | |
| Permissions | form | List<string> | No | |
| LabelTemplateId | form | long? | No | |
| LabelTemplateName | form | string | No | |
| UseNewLabel | form | bool | No | |
LanguageCode Enum:| Name | Value | |
|---|
| de | 1 | |
| fr | 2 | |
| it | 3 | |
Country Enum:| Name | Value | |
|---|
| Switzerland | 1 | |
| Germany | 2 | |
| Austria | 3 | |
LabelVersion Enum:| Name | Value | |
|---|
| PrimeraLogo | 1 | |
| PrimeraLogoBarcode | 2 | |
| PrimeraNaturdrogerieBern | 3 | |
| PrimeraStuder | 4 | |
| Zebra | 5 | |
| ZebraBaumannRichterswil | 6 | |
| ZebraSonderegger | 7 | |
| ZebraSwidroArialLogo | 8 | |
| ZebraSwidroArialLogoBarcode | 9 | |
| ZebraLogo | 11 | |
| ZebraLogoBarcode | 12 | |
| PrimeraFuernitz | 13 | |
| PrimeraImlig | 14 | |
| PrimeraImligNaturheil | 15 | |
| Primera76 | 16 | |
| RaegebogeWinterthur | 17 | |
| ZebraKraemer | 18 | |
| ZebraBoznerplatz | 19 | |
| ZebraPinzgau | 20 | |
| ZebraRoggen | 21 | |
| ZebraStandardLogo | 22 | |
| ZebraStandardLogoEAN13 | 23 | |
| ZebraStandardNoLogo | 24 | |
| ZebraWalgau | 26 | |
| ZebraFrLogo | 27 | |
| ZebraKuettigen | 29 | |
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.
POST /support HTTP/1.1
Host: heidak-api.build.exanic.ch
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ContactFormRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/heilog.ch.Api.ServiceModel.User.ContactForm">
<Message>String</Message>
<UserDetailDto 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:CustomerNumber>0</d2p1:CustomerNumber>
<d2p1:Email>String</d2p1:Email>
<d2p1:EmailNotifications>false</d2p1:EmailNotifications>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:Gender>String</d2p1:Gender>
<d2p1:Id>0</d2p1:Id>
<d2p1:InStockOnly>false</d2p1:InStockOnly>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:IsStandardPharmacist>false</d2p1:IsStandardPharmacist>
<d2p1:IsVisumRequired>false</d2p1:IsVisumRequired>
<d2p1:LabelTemplateId>0</d2p1:LabelTemplateId>
<d2p1:LabelTemplateName>String</d2p1:LabelTemplateName>
<d2p1:LabelVersion>PrimeraLogo</d2p1:LabelVersion>
<d2p1:LanguageCode>de</d2p1:LanguageCode>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:LockedDate>0001-01-01T00:00:00</d2p1:LockedDate>
<d2p1:Permissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Permissions>
<d2p1:PhoneNumber>String</d2p1:PhoneNumber>
<d2p1:PostalCode>String</d2p1:PostalCode>
<d2p1:PrimaryEmail>String</d2p1:PrimaryEmail>
<d2p1:Roles xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:Roles>
<d2p1:Salutation>MISTER</d2p1:Salutation>
<d2p1:ShowEtOH>false</d2p1:ShowEtOH>
<d2p1:UseNewLabel>false</d2p1:UseNewLabel>
</UserDetailDto>
</ContactFormRequest>