POST api/app/TPChatServer/GetUnreadCount

Request Information

URI Parameters

None.

Body Parameters

TPChatServerGetUnreadCountBindingModel
NameDescriptionTypeAdditional information
BuilderOrgId

integer

None.

ERPCCId

integer

None.

SourceEntityTypeId

integer

None.

SourceIds

Collection of string

None.

ERPType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BuilderOrgId": 1,
  "ERPCCId": 2,
  "SourceEntityTypeId": 3,
  "SourceIds": [
    "sample string 1",
    "sample string 2"
  ],
  "ERPType": 4
}

application/xml, text/xml

Sample:
<TPChatServerGetUnreadCountBindingModel 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">1cf7588a-9a0f-41fa-9ba4-45caaf68b8d1</RequestId>
  <BuilderOrgId>1</BuilderOrgId>
  <ERPCCId>2</ERPCCId>
  <ERPType>4</ERPType>
  <SourceEntityTypeId>3</SourceEntityTypeId>
  <SourceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SourceIds>
</TPChatServerGetUnreadCountBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfTPChatServerGetUnreadCountResponse
NameDescriptionTypeAdditional information
ResponseTime

date

None.

ResponseCode

ResponseCode

None.

ResponseMessage

string

None.

ResponsePermission

string

None.

DataSet

TPChatServerGetUnreadCountResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseTime": "2026-02-17T06:37:38.5203584+00:00",
  "ResponseCode": 0,
  "ResponseMessage": "sample string 2",
  "ResponsePermission": "sample string 3",
  "DataSet": {
    "Data": [
      {
        "Message": "sample string 1",
        "SourceId": "sample string 2",
        "UnreadMessageCount": 3,
        "ThreadId": 4
      },
      {
        "Message": "sample string 1",
        "SourceId": "sample string 2",
        "UnreadMessageCount": 3,
        "ThreadId": 4
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseModelOfTPChatServerGetUnreadCountResponseUYSJNUsC 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:Data>
      <d2p1:TPChatServerUnreadCount>
        <d2p1:Message>sample string 1</d2p1:Message>
        <d2p1:SourceId>sample string 2</d2p1:SourceId>
        <d2p1:ThreadId>4</d2p1:ThreadId>
        <d2p1:UnreadMessageCount>3</d2p1:UnreadMessageCount>
      </d2p1:TPChatServerUnreadCount>
      <d2p1:TPChatServerUnreadCount>
        <d2p1:Message>sample string 1</d2p1:Message>
        <d2p1:SourceId>sample string 2</d2p1:SourceId>
        <d2p1:ThreadId>4</d2p1:ThreadId>
        <d2p1:UnreadMessageCount>3</d2p1:UnreadMessageCount>
      </d2p1:TPChatServerUnreadCount>
    </d2p1:Data>
  </DataSet>
  <ResponseCode>NoDataFound</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponsePermission>sample string 3</ResponsePermission>
  <ResponseTime>2026-02-17T06:37:38.5203584+00:00</ResponseTime>
</ResponseModelOfTPChatServerGetUnreadCountResponseUYSJNUsC>