REST.Backend.EMSApi.TEMSClientAPI.PushWhere

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PushWhere(const AData: TJSONObject; const AWhere: TJSONObject); overload;
procedure PushWhere(const AData: TJSONObject; const AWhere: TJSONObject; out AStatus: TPushStatus); overload;

C++

void __fastcall PushWhere(System::Json::TJSONObject* const AData, System::Json::TJSONObject* const AWhere)/* overload */;
void __fastcall PushWhere(System::Json::TJSONObject* const AData, System::Json::TJSONObject* const AWhere, /* out */ TPushStatus &AStatus)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.Backend.EMSApi.pas
REST.Backend.EMSApi.hpp
REST.Backend.EMSApi TEMSClientAPI

Description

Sends the specified EMS push message payload to the EMS server so that the EMS server redirects the message to the targets that match the specified "where" clause.

You may optionally specify an instance of TPushStatus (AStatus) that PushWhere fills with the EMS push notification status information that the EMS server provides.

Exceptions

Exception Message Description

EEMSClientAPIError

MasterSecret required

Authentication is TAuthentication.MasterSecret and ConnectionInfo.MasterSecret is an empty string.

Session token required

Authentication is TAuthentication.Session and you did not log in or the session authentication token that you provided to Login is an empty string.

See Also