REST.Backend.EMSApi.TEMSClientAPI.PushBody
Delphi
procedure PushBody(const AMessage: TJSONObject); overload;
procedure PushBody(const AMessage: TJSONObject; out AStatus: TPushStatus); overload;
C++
void __fastcall PushBody(System::Json::TJSONObject* const AMessage)/* overload */;
void __fastcall PushBody(System::Json::TJSONObject* const AMessage, /* out */ TPushStatus &AStatus)/* overload */;
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
protected | REST.Backend.EMSApi.pas REST.Backend.EMSApi.hpp |
REST.Backend.EMSApi | TEMSClientAPI |
Beschreibung
Sendet die angegebenen Nutzdaten der EMS-Push-Meldung an den EMS-Server.
Sie können optional eine Instanz von TPushStatus (AStatus
) angeben, die PushBody mit den Statusinformationen der EMS-Push-Benachrichtigung füllt, die der EMS-Server bereitstellt.
Exceptions
Exception | Meldung | Beschreibung |
---|---|---|
MasterSecret erforderlich |
Authentication ist TAuthentication.MasterSecret und ConnectionInfo.MasterSecret ist ein leerer String. | |
Sitzungs-Token erforderlich |
Authentication ist TAuthentication.Session, und Sie haben sich nicht angemeldet oder das bei der Anmeldung (Login) angegebene Sitzungsauthentifizierungs-Token ist ein leerer String. |