EMS.Services.TEMSInternalAPI.PushToChannels
Delphi
function PushToChannels(const AData: TJSONObject; const AChannels: array of string): IEMSResourceResponseContent;
C++
_di_IEMSResourceResponseContent __fastcall PushToChannels(System::Json::TJSONObject* const AData, const System::UnicodeString *AChannels, const int AChannels_High);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Description
Sends an EMS Push Notification message to the EMS Installations that are subscribed with the EMS channels.
PushToChannels sends the EMS Push notification message AData
to the EMS Installations that are subscribed to any of the AChannels
.
PushToChannels returns an IEMSResourceResponseContent to read the response from the resource.
If no EMS channels are passed, PushToChannels raises an error: Channel names expected
.