Template:Json Practice Block - Java

From Updox API
Revision as of 17:38, 19 November 2013 by Thenate (Talk | contribs)

Jump to: navigation, search
       Map<String,Object> messageData = new HashMap();
       messageData.put("accountId","NewPracticeId"); //required
       messageData.put("name","NewPracticeName"); //required
       messageData.put("address1", "");
       messageData.put("address2", "");
       messageData.put("city", "");
       messageData.put("state", "");
       messageData.put("postal", "");
       messageData.put("phone", "");
       messageData.put("fax", "");
       messageData.put("directAddress", "");
       messageData.put("timeZone", "");
       messageData.put("websiteAddress", "");
       messageData.put("active","true"); //recommended, defaults to "false"
 
       Map<String,String> authData = new HashMap();
       authData.put("applicationId", "vendorId");
       authData.put("applicationPassword", "vendorPassword");
       messageData.put("auth", authData);