POST {lang}/Chat/insert/{format}/{interfaceid}/{orgid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
format

string

Required

interfaceid

integer

Required

orgid

integer

Required

lang

string

None.

Body Parameters

ChatMessageInsertRequest
NameDescriptionTypeAdditional information
Items

Collection of ChatMessage

None.

Request Formats

application/json; charset=utf-8, application/json, application/vnd.google-earth.kml+xml, text/plain, image/png, text/csv, application/x-www-form-urlencoded

Sample:
{
  "Items": [
    {
      "_id": "sample string 1",
      "OrganizationId": 2,
      "MobileUserId": 3,
      "UserDisplayName": "sample string 4",
      "UserName": "sample string 5",
      "Message": "sample string 6",
      "Time": "2026-06-03T17:12:01.2247456Z",
      "ChatMessageObjectType": 0,
      "ChatMessageObjectId": "sample string 7",
      "BroadCastToClients": true,
      "CommandSourceType": 1
    },
    {
      "_id": "sample string 1",
      "OrganizationId": 2,
      "MobileUserId": 3,
      "UserDisplayName": "sample string 4",
      "UserName": "sample string 5",
      "Message": "sample string 6",
      "Time": "2026-06-03T17:12:01.2247456Z",
      "ChatMessageObjectType": 0,
      "ChatMessageObjectId": "sample string 7",
      "BroadCastToClients": true,
      "CommandSourceType": 1
    }
  ]
}

application/xml; charset=utf-8, application/xml

Sample:
<ChatMessageInsertRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Items>
    <ChatMessage>
      <_id>sample string 1</_id>
      <OrganizationId>2</OrganizationId>
      <MobileUserId>3</MobileUserId>
      <UserDisplayName>sample string 4</UserDisplayName>
      <UserName>sample string 5</UserName>
      <Message>sample string 6</Message>
      <Time>2026-06-03T17:12:01.2247456+00:00</Time>
      <ChatMessageObjectType>Incident</ChatMessageObjectType>
      <ChatMessageObjectId>sample string 7</ChatMessageObjectId>
      <BroadCastToClients>true</BroadCastToClients>
      <CommandSourceType>Mobile</CommandSourceType>
    </ChatMessage>
    <ChatMessage>
      <_id>sample string 1</_id>
      <OrganizationId>2</OrganizationId>
      <MobileUserId>3</MobileUserId>
      <UserDisplayName>sample string 4</UserDisplayName>
      <UserName>sample string 5</UserName>
      <Message>sample string 6</Message>
      <Time>2026-06-03T17:12:01.2247456+00:00</Time>
      <ChatMessageObjectType>Incident</ChatMessageObjectType>
      <ChatMessageObjectId>sample string 7</ChatMessageObjectId>
      <BroadCastToClients>true</BroadCastToClients>
      <CommandSourceType>Mobile</CommandSourceType>
    </ChatMessage>
  </Items>
</ChatMessageInsertRequest>

Response Information

Resource Description

ChatMessageInsertResponse
NameDescriptionTypeAdditional information
Result

boolean

None.

ErrorId

integer

None.

Items

Collection of ChatMessage

None.

Response Formats

application/json; charset=utf-8, application/json, application/vnd.google-earth.kml+xml, text/plain, image/png, text/csv, application/x-www-form-urlencoded

Sample:
{
  "Result": true,
  "ErrorId": 1,
  "Items": [
    {
      "_id": "sample string 1",
      "OrganizationId": 2,
      "MobileUserId": 3,
      "UserDisplayName": "sample string 4",
      "UserName": "sample string 5",
      "Message": "sample string 6",
      "Time": "2026-06-03T17:12:01.4816196Z",
      "ChatMessageObjectType": 0,
      "ChatMessageObjectId": "sample string 7",
      "BroadCastToClients": true,
      "CommandSourceType": 1
    },
    {
      "_id": "sample string 1",
      "OrganizationId": 2,
      "MobileUserId": 3,
      "UserDisplayName": "sample string 4",
      "UserName": "sample string 5",
      "Message": "sample string 6",
      "Time": "2026-06-03T17:12:01.4816196Z",
      "ChatMessageObjectType": 0,
      "ChatMessageObjectId": "sample string 7",
      "BroadCastToClients": true,
      "CommandSourceType": 1
    }
  ]
}

application/xml; charset=utf-8, application/xml

Sample:
<ChatMessageInsertResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Result>true</Result>
  <ErrorId>1</ErrorId>
  <Items>
    <ChatMessage>
      <_id>sample string 1</_id>
      <OrganizationId>2</OrganizationId>
      <MobileUserId>3</MobileUserId>
      <UserDisplayName>sample string 4</UserDisplayName>
      <UserName>sample string 5</UserName>
      <Message>sample string 6</Message>
      <Time>2026-06-03T17:12:01.4816196+00:00</Time>
      <ChatMessageObjectType>Incident</ChatMessageObjectType>
      <ChatMessageObjectId>sample string 7</ChatMessageObjectId>
      <BroadCastToClients>true</BroadCastToClients>
      <CommandSourceType>Mobile</CommandSourceType>
    </ChatMessage>
    <ChatMessage>
      <_id>sample string 1</_id>
      <OrganizationId>2</OrganizationId>
      <MobileUserId>3</MobileUserId>
      <UserDisplayName>sample string 4</UserDisplayName>
      <UserName>sample string 5</UserName>
      <Message>sample string 6</Message>
      <Time>2026-06-03T17:12:01.4816196+00:00</Time>
      <ChatMessageObjectType>Incident</ChatMessageObjectType>
      <ChatMessageObjectId>sample string 7</ChatMessageObjectId>
      <BroadCastToClients>true</BroadCastToClients>
      <CommandSourceType>Mobile</CommandSourceType>
    </ChatMessage>
  </Items>
</ChatMessageInsertResponse>