PUT api/Contacts?email={email}&active={active}

Update Contact Status.
Roles cannot be udpated through with this method.
Contact properties that are null, or are not passed in are ignored.
Contact properties that are an empty string will clear the field in CRM.
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

NameDescriptionTypeAdditional information
email

Contact Id

System.String

Required

active

Active

System.Boolean

Required

Body Parameters

None.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.