EMS.Services.TEMSInternalAPI.PushToTarget

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function PushToTarget(const AData: TJSONObject; const ATarget: TJSONObject): IEMSResourceResponseContent;

C++

_di_IEMSResourceResponseContent __fastcall PushToTarget(System::Json::TJSONObject* const AData, System::Json::TJSONObject* const ATarget);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSInternalAPI


Beschreibung

Sendet eine EMS-Push-Benachrichtigung an eine bestimmte EMS-Installation.

Die Methode PushToTarget sendet die AData-Meldung und gibt die Ziel-EMS-Installation im Parameter ATarget an.

ATarget ist ein TJSONObject, das Folgendes enthält:

  • EMS-Kanäle:
 {"channels": ["a","b"]}"}
  • Einen Filter:
 {"where":{"email":"xyz@xmail.com"}}
  • Eine Kombination von EMS-Kanälen und Filtern.

PushToTarget gibt einen IEMSResourceResponseContent zum Lesen der Antwort aus der Ressource zurück.

Siehe auch