Template:Json EventNotificationIds Block - Java

From Updox API
Revision as of 20:38, 11 December 2015 by Bwijoyo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
   private Map<String,Object> BuildMessage() throws Exception
   {
       List<String> messageData = new ArrayList<>();
       messageData.add("1");
       messageData.add("2");
       messageData.add("3");
 
       Map<String,String> authData = new HashMap();
       authData.put("applicationId", "vendorId");
       authData.put("applicationPassword", "vendorPassword");
       messageData.put("auth", authData);
       return messageData;
   }