<back to all web services
UpdateCustomerRequest
The following routes are available for this service:PUT | /customer | | |
---|
UpdateCustomerRequest Parameters:Name | Parameter | Data Type | Required | Description |
---|
Customer | body | CustomerDetailDto | No | |
CustomerDetailDto Parameters:Name | Parameter | Data Type | Required | Description |
---|
Id | form | long | No | |
Salutation | form | int? | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Street | form | string | No | |
Zip | form | string | No | |
Place | form | string | No | |
PhonePrivate | form | string | No | |
PhoneBusiness | form | string | No | |
PhoneMobile | form | string | No | |
Email | form | string | No | |
HealthInsurance | form | string | No | |
HealthInsuranceNumber | form | string | No | |
Ahv | form | string | No | |
BirthDate | form | DateTime? | No | |
Notes | form | string | No | |
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 /customer HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateCustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/heilog.ch.Api.ServiceModel.Customer">
<Customer xmlns:d2p1="http://schemas.datacontract.org/2004/07/heilog.ch.Api.Dto.Customer">
<d2p1:Ahv>String</d2p1:Ahv>
<d2p1:BirthDate>0001-01-01T00:00:00</d2p1:BirthDate>
<d2p1:Email>String</d2p1:Email>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:HealthInsurance>String</d2p1:HealthInsurance>
<d2p1:HealthInsuranceNumber>String</d2p1:HealthInsuranceNumber>
<d2p1:Id>0</d2p1:Id>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:Notes>String</d2p1:Notes>
<d2p1:PhoneBusiness>String</d2p1:PhoneBusiness>
<d2p1:PhoneMobile>String</d2p1:PhoneMobile>
<d2p1:PhonePrivate>String</d2p1:PhonePrivate>
<d2p1:Place>String</d2p1:Place>
<d2p1:Salutation>0</d2p1:Salutation>
<d2p1:Street>String</d2p1:Street>
<d2p1:Zip>String</d2p1:Zip>
</Customer>
</UpdateCustomerRequest>