Difference between revisions of "Template:Json Practice Block - Java"
From Updox API
Line 1: | Line 1: | ||
Map<String,Object> messageData = new HashMap(); | Map<String,Object> messageData = new HashMap(); | ||
− | messageData.put("accountId","NewPracticeId"); | + | messageData.put("accountId","NewPracticeId"); <span style="color:green">//required</span> |
− | messageData.put("name","NewPracticeName"); | + | messageData.put("name","NewPracticeName"); <span style="color:green">//required</span> |
messageData.put("address1", ""); | messageData.put("address1", ""); | ||
messageData.put("address2", ""); | messageData.put("address2", ""); | ||
Line 12: | Line 12: | ||
messageData.put("timeZone", ""); | messageData.put("timeZone", ""); | ||
messageData.put("websiteAddress", ""); | messageData.put("websiteAddress", ""); | ||
− | messageData.put("active","true"); | + | messageData.put("active","true"); <span style="color:green">//recommended, defaults to "false"</span> |
Revision as of 17:23, 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"