POST {lang}/Alerts/Insert/{format}/{interfaceid}/{orgid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
format

string

Required

interfaceid

integer

Required

orgid

integer

Required

lang

string

None.

Body Parameters

AlertItemInsertRequest
NameDescriptionTypeAdditional information
OrganizationID

integer

None.

AlertTypeID

AlertTypes

None.

ObjectId

string

None.

MobileUserId

integer

None.

Message

AlertMessage

None.

Actions

Collection of HttpPostMessage

None.

SourceName

string

None.

AllDispatches

boolean

None.

Dispatches

Collection of integer

None.

LanguageId

SystemLanguage

None.

SubObjectId

integer

None.

SubObjectId2

integer

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:
{
  "OrganizationID": 1,
  "AlertTypeID": 1,
  "ObjectId": "sample string 2",
  "MobileUserId": 1,
  "Message": {
    "Title": "sample string 1",
    "Body": "sample string 2",
    "Latitude": 1.1,
    "Longitude": 1.1,
    "Address": "sample string 3",
    "HasActions": 4
  },
  "Actions": [
    {
      "CreationTime": "2026-06-03T17:13:14.5912407Z",
      "URL": "sample string 2",
      "Body": "sample string 3",
      "Headers": [
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "IsExternal": true
    },
    {
      "CreationTime": "2026-06-03T17:13:14.5912407Z",
      "URL": "sample string 2",
      "Body": "sample string 3",
      "Headers": [
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "IsExternal": true
    }
  ],
  "SourceName": "sample string 3",
  "AllDispatches": true,
  "Dispatches": [
    1,
    2
  ],
  "LanguageId": 1,
  "SubObjectId": 1,
  "SubObjectId2": 1
}

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

Sample:
<AlertItemInsertRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OrganizationID>1</OrganizationID>
  <AlertTypeID>Users</AlertTypeID>
  <ObjectId>sample string 2</ObjectId>
  <MobileUserId>1</MobileUserId>
  <Message>
    <Title>sample string 1</Title>
    <Body>sample string 2</Body>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <Address>sample string 3</Address>
    <HasActions>4</HasActions>
  </Message>
  <Actions>
    <HttpPostMessage>
      <CreationTime>2026-06-03T17:13:14.5912407+00:00</CreationTime>
      <URL>sample string 2</URL>
      <Body>sample string 3</Body>
      <Headers>
        <KeyValueOfStringString>
          <Key>sample string 1</Key>
          <Value>sample string 2</Value>
        </KeyValueOfStringString>
        <KeyValueOfStringString>
          <Key>sample string 1</Key>
          <Value>sample string 2</Value>
        </KeyValueOfStringString>
      </Headers>
      <IsExternal>true</IsExternal>
    </HttpPostMessage>
    <HttpPostMessage>
      <CreationTime>2026-06-03T17:13:14.5912407+00:00</CreationTime>
      <URL>sample string 2</URL>
      <Body>sample string 3</Body>
      <Headers>
        <KeyValueOfStringString>
          <Key>sample string 1</Key>
          <Value>sample string 2</Value>
        </KeyValueOfStringString>
        <KeyValueOfStringString>
          <Key>sample string 1</Key>
          <Value>sample string 2</Value>
        </KeyValueOfStringString>
      </Headers>
      <IsExternal>true</IsExternal>
    </HttpPostMessage>
  </Actions>
  <SourceName>sample string 3</SourceName>
  <AllDispatches>true</AllDispatches>
  <Dispatches>
    <int>1</int>
    <int>2</int>
  </Dispatches>
  <LanguageId>Hebrew</LanguageId>
  <SubObjectId>1</SubObjectId>
  <SubObjectId2>1</SubObjectId2>
</AlertItemInsertRequest>

Response Information

Resource Description

AlertItemInsertResponse
NameDescriptionTypeAdditional information
AlertID

integer

None.

ShowPopUp

boolean

None.

IsNewAlert

boolean

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:
{
  "AlertID": 1,
  "ShowPopUp": true,
  "IsNewAlert": true
}

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

Sample:
<AlertItemInsertResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AlertID>1</AlertID>
  <ShowPopUp>true</ShowPopUp>
  <IsNewAlert>true</IsNewAlert>
</AlertItemInsertResponse>