PUT associations({associationId})/representative/read

Method to PUT an item read

Request Information

Parameters

NameDescriptionAdditional information
associationId
No documentation available.

Define this parameter in the request URI.

item
Item to add or update

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FirstReadUTC": "2024-11-23T23:14:16.7729254-06:00",
  "LastReadUTC": "2024-11-23T23:14:16.7729254-06:00",
  "ItemId": 3,
  "ItemTypeId": 64,
  "ObjectId": 5,
  "ObjectTypeId": 64
}

application/xml, text/xml

Sample:
<ItemReadResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <FirstReadUTC>2024-11-23T23:14:16.7729254-06:00</FirstReadUTC>
  <ItemId>3</ItemId>
  <ItemTypeId>64</ItemTypeId>
  <LastReadUTC>2024-11-23T23:14:16.7729254-06:00</LastReadUTC>
  <ObjectId>5</ObjectId>
  <ObjectTypeId>64</ObjectTypeId>
</ItemReadResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Newly added or updated item

Response body formats

application/json, text/json

Sample:
{
  "FirstReadUTC": "2024-11-23T23:14:16.7729254-06:00",
  "LastReadUTC": "2024-11-23T23:14:16.7729254-06:00",
  "ItemId": 3,
  "ItemTypeId": 64,
  "ObjectId": 5,
  "ObjectTypeId": 64
}

application/xml, text/xml

Sample:
<ItemReadResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <FirstReadUTC>2024-11-23T23:14:16.7729254-06:00</FirstReadUTC>
  <ItemId>3</ItemId>
  <ItemTypeId>64</ItemTypeId>
  <LastReadUTC>2024-11-23T23:14:16.7729254-06:00</LastReadUTC>
  <ObjectId>5</ObjectId>
  <ObjectTypeId>64</ObjectTypeId>
</ItemReadResource>