PUT | /customer |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Customer | body | CustomerDetailDto | No |
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 | |
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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
Content-Type: application/json
Content-Length: length
{"customer":{"id":0,"salutation":0,"firstName":"String","lastName":"String","street":"String","zip":"String","place":"String","phonePrivate":"String","phoneBusiness":"String","phoneMobile":"String","email":"String","healthInsurance":"String","healthInsuranceNumber":"String","ahv":"String","birthDate":"0001-01-01T00:00:00.0000000","notes":"String"}}