MessageService

URL: http://landgrab.net/landgrab/services/MessageService
WSDL: http://landgrab.net/landgrab/services/MessageService?wsdl

The MessageService has methods for working with in-game public and private messages.

Methods

getPublicMessages(sessionKey, gameNumber)

Arguments:
sessionKey (xsd:string) The session key obtained from the initiateSession call
gameNumber (xsd:int) The game number

Returns
: an array of MessageSoapBean objects

This method returns all public messages for the given game.


getAllMessagesForUser(sessionKey, gameNumber)

Arguments:
sessionKey (xsd:string) The session key obtained from the initiateSession call
gameNumber (xsd:int) The game number

Returns: an array of MessageSoapBean objects

This method returns all public and private messages for the currently authenticated user. The method will not mark unread messages as read.