Difference between revisions of "Template:Json MessageRetrieve Block - Java"
From Updox API
(Created page with " private static Map<String,Object> BuildMessage() throws Exception { Map<String,Object> messageData = new HashMap(); messageData.put("messageId",(long)1...") |
|||
Line 1: | Line 1: | ||
− | private | + | private Map<String,Object> BuildMessage() throws Exception |
{ | { | ||
Map<String,Object> messageData = new HashMap(); | Map<String,Object> messageData = new HashMap(); |
Latest revision as of 14:32, 3 December 2013
private Map<String,Object> BuildMessage() throws Exception { Map<String,Object> messageData = new HashMap(); messageData.put("messageId",(long)177985); Map<String,String> authData = new HashMap(); authData.put("applicationId", "updox"); authData.put("applicationPassword", "password"); authData.put("accountId", "updox_acct"); authData.put("userId", "updox_user"); messageData.put("auth", authData); return messageData; }