POST api/app/TPChatServer/SendMessage

Request Information

URI Parameters

None.

Body Parameters

TPChatSendMessageBindingModel
NameDescriptionTypeAdditional information
ERPType

integer

None.

ThreadId

integer

None.

Message

string

None.

ErpccId

integer

None.

SourceEntityTypeId

integer

None.

BuilderOrgId

integer

None.

SourceId

string

None.

SourceSystemId

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<TPChatSendMessageBindingModel 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">e49a58a9-3264-4ada-b921-025d3cc1fc74</RequestId>
  <BuilderOrgId>6</BuilderOrgId>
  <ERPType>1</ERPType>
  <ErpccId>4</ErpccId>
  <Message>sample string 3</Message>
  <SourceEntityTypeId>5</SourceEntityTypeId>
  <SourceId>sample string 7</SourceId>
  <SourceSystemId>8</SourceSystemId>
  <ThreadId>2</ThreadId>
</TPChatSendMessageBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfTPChatServerSendMessageResponse
NameDescriptionTypeAdditional information
ResponseTime

date

None.

ResponseCode

ResponseCode

None.

ResponseMessage

string

None.

ResponsePermission

string

None.

DataSet

TPChatServerSendMessageResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseTime": "2026-02-17T07:25:57.0225399+00:00",
  "ResponseCode": 0,
  "ResponseMessage": "sample string 2",
  "ResponsePermission": "sample string 3",
  "DataSet": {
    "Message": "sample string 1",
    "ThreadId": 2,
    "MessageId": 3,
    "SentByUserId": 4,
    "UserIds": {
      "sample string 1": 2,
      "sample string 3": 4
    }
  }
}

application/xml, text/xml

Sample:
<ResponseModelOfTPChatServerSendMessageResponseUYSJNUsC 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:MessageId>3</d2p1:MessageId>
    <d2p1:SentByUserId>4</d2p1:SentByUserId>
    <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:25:57.0225399+00:00</ResponseTime>
</ResponseModelOfTPChatServerSendMessageResponseUYSJNUsC>