Difference between revisions of "Template:Json Practice Block - Java"
From Updox API
Line 13: | Line 13: | ||
messageData.put("websiteAddress", ""); | messageData.put("websiteAddress", ""); | ||
messageData.put("active","true"); <span style="color:green">//recommended, defaults to "false"</span> | messageData.put("active","true"); <span style="color:green">//recommended, defaults to "false"</span> | ||
+ | |||
+ | {{Json_Auth_Block_-_Application_-_Java}} |
Revision as of 17:38, 19 November 2013
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);