PUT api/Contacts/{id}?username={username}&password={password}
Update the contact username and password 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.
400/Required Field Missing - 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 |
Contact Id |
System.String |
Required |
username |
Username - required |
System.String |
Required |
password |
Password - required |
System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | 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. |