Template:Json PracticeVettedToggle Block - Java

From Updox API
Revision as of 11:11, 19 December 2013 by Thenate (Talk | contribs)

Jump to: navigation, search
 private Map<String,Object> BuildMessage() throws Exception
   {
       Map<String,Object> messageData = new HashMap();
       messageData.put("accountId","myPracticeId"); //required
 
       Map<String,String> authData = new HashMap();
       authData.put("applicationId", "vendorId");
       authData.put("applicationPassword", "vendorPassword");
       messageData.put("auth", authData);
 
       return messageData;
   }