PUT api/Contacts/{id}?emergencycontactname={emergencycontactname}&emergencycontactphone={emergencycontactphone}&dietaryrestrictions={dietaryrestrictions}
Update the contact emergency contact information.
Possible Service Responses:
200/OK - Contact updated successfully and returned in the body of the response.
404/Contact Not Found - no contact found for the specified id.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Shopping Cart Id |
System.String |
Required |
| emergencycontactname | System.String |
Required |
|
| emergencycontactphone | System.String |
Required |
|
| dietaryrestrictions | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | System.String |
None. |
|
| Headers | System.Net.Http.Headers.HttpResponseHeaders |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | System.Boolean |
None. |