SendMobileMessageRequest

Represents a message to be sent to the mobile app.

Overview of SendMobileMessageRequest goes here.

SendMobileMessageRequest Properties

SendMobileMessageRequest

Field Type Inherited from Description
NotificationBody String SendMobileMessageRequest Gets or sets the notification message.
NotificationTitle String SendMobileMessageRequest Gets or sets the notification title.

JSON Structure of SendMobileMessageRequest

{
   "NotificationBody"	:	"String",
   "NotificationTitle"	:	"String"
}

Send Mobile Message Async

Example in C#

// Returns: Boolean
var item = await client.SendMobileMessageAsync(PersonInfo person, SendMobileMessageRequest message);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PEOPLE.KEY/sendmobilemessage \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.SendMobileMessageRequest, Feenics.Keep.WebApi.Model",
                       "NotificationTitle":"title",
                       "NotificationMessage":"message"
                   }'