Difference between revisions of "Template:Json PracticeVettedToggle Block - Java"

From Updox API
Jump to: navigation, search
(Created page with " private Map<String,Object> BuildMessage() throws Exception { Map<String,Object> messageData = new HashMap(); messageData.put("accountId","myPracticeId"...")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
    private Map<String,Object> BuildMessage() throws Exception
+
  private Map<String,Object> BuildMessage() throws Exception
 
     {
 
     {
 
         Map<String,Object> messageData = new HashMap();
 
         Map<String,Object> messageData = new HashMap();

Latest revision as of 12:19, 19 December 2013

 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;
   }