PUT api/PersonMessages/PutRead
Marks all messages received by the caller in the specified event as read.
Request Information
URI Parameters
None.
Body Parameters
An object with a single long field "id", which is the event's id.
LongWrapperDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1
}
application/xml, text/xml
Sample:
<LongWrapperDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos"> <Id>1</Id> </LongWrapperDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
200 OK if the call succeeds, 400 BadRequest otherwise.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |