BNN Api

<back to all web services

GetMobileUserAlerts

Get mobile user messages

The following routes are available for this service:
POST/GetMobileUserAlertsGet mobile user messsages

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetMobileUserAlerts HTTP/1.1 
Host: api.dev.bnn.us 
Content-Type: application/json
Content-Length: length

{"LastTime":"\/Date(-62135596800000-0000)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":[{"Id":"String","Unread":false,"Time":"\/Date(-62135596800000-0000)\/","Username":"String","Message":"String","From":"String","TimeIso":"0001-01-01 00:00:00Z","History":[{"Time":"\/Date(-62135596800000-0000)\/","Username":"String","Message":"String","From":"String","TimeIso":"0001-01-01 00:00:00Z"}]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}