GetBroadcastMessageCount

This command is used to determine the total number of messages in a broadcast message as well as the current number of unread messages in a broadcast.

https://webservices.appmobi.com/pushmobi.aspx?CMD=GetBroadcastMessageCount&authuser=[User Name]&authpw=[User 
Password]&appname=[Application Name]&id=[Broadcast Message ID]

Description:

This command is used to determine the total number of messages in a broadcast message as well as the current number of unread messages in a broadcast. For example, a good return message from this command will look like this:

function name="getbroadcastmessagecount" return="ok" msg="" total="50" unread="3"

Parameters:

  • authuser: A valid appMobi XDK user email address or user name. This parameter is required.
  • authpw: The appropriate password for the account identified by the authuser parameter.
  • appname: The project name of the pushMobi enabled application. It should start with the developer's company prefix, followed by a period. Developers can find their company prefix in the XDK by clicking the account icon in the upper right-hand corner. This parameter is required.
  • id: The ID of the broadcast message to query. This parameter is required.