POST api/app/TPChatServer/MarkAsRead

Request Information

URI Parameters

None.

Body Parameters

TPChatMarkAsReadBindingModel
NameDescriptionTypeAdditional information
SourceSystemId

integer

None.

SourceId

string

None.

ThreadId

integer

None.

BuilderOrgId

integer

None.

ErpccId

integer

None.

ERPType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceSystemId": 1,
  "SourceId": "sample string 2",
  "ThreadId": 3,
  "BuilderOrgId": 4,
  "ErpccId": 5,
  "ERPType": 6
}

application/xml, text/xml

Sample:
<TPChatMarkAsReadBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Central.API.Common.BindingModel.TPChatServer">
  <RequestId xmlns="http://schemas.datacontract.org/2004/07/Central.API.Enterprise.BindingModels">bf39cef8-42e5-4cab-96b4-2fea60203f1d</RequestId>
  <BuilderOrgId>4</BuilderOrgId>
  <ERPType>6</ERPType>
  <ErpccId>5</ErpccId>
  <SourceId>sample string 2</SourceId>
  <SourceSystemId>1</SourceSystemId>
  <ThreadId>3</ThreadId>
</TPChatMarkAsReadBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfTPChatServerMarkAsReadResponse
NameDescriptionTypeAdditional information
ResponseTime

date

None.

ResponseCode

ResponseCode

None.

ResponseMessage

string

None.

ResponsePermission

string

None.

DataSet

TPChatServerMarkAsReadResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseTime": "2026-02-17T07:26:50.1192275+00:00",
  "ResponseCode": 0,
  "ResponseMessage": "sample string 2",
  "ResponsePermission": "sample string 3",
  "DataSet": {
    "Message": "sample string 1",
    "ThreadId": 2,
    "MessagesMarkedAsReadCount": 3,
    "MessageReadByUserId": 4,
    "UserIds": {
      "sample string 1": 2,
      "sample string 3": 4
    }
  }
}

application/xml, text/xml

Sample:
<ResponseModelOfTPChatServerMarkAsReadResponseUYSJNUsC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Central.API.Enterprise.BindingModels">
  <DataSet xmlns:d2p1="http://schemas.datacontract.org/2004/07/Central.API.Common.DataProvider.Model.TPChatServer">
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:MessageReadByUserId>4</d2p1:MessageReadByUserId>
    <d2p1:MessagesMarkedAsReadCount>3</d2p1:MessagesMarkedAsReadCount>
    <d2p1:ThreadId>2</d2p1:ThreadId>
    <d2p1:UserIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringint>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>2</d3p1:Value>
      </d3p1:KeyValueOfstringint>
      <d3p1:KeyValueOfstringint>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>4</d3p1:Value>
      </d3p1:KeyValueOfstringint>
    </d2p1:UserIds>
  </DataSet>
  <ResponseCode>NoDataFound</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponsePermission>sample string 3</ResponsePermission>
  <ResponseTime>2026-02-17T07:26:50.1192275+00:00</ResponseTime>
</ResponseModelOfTPChatServerMarkAsReadResponseUYSJNUsC>