Difference between revisions of "Template:Json User Block - Java"
From Updox API
(Created page with " private Map<String,Object> BuildMessage() throws Exception { Map<String,Object> messageData = new HashMap(); messageData.put("userId","newUserId"); ...") |
|||
Line 5: | Line 5: | ||
messageData.put("loginId","newLoginId"); | messageData.put("loginId","newLoginId"); | ||
messageData.put("loginPassword","password"); | messageData.put("loginPassword","password"); | ||
− | messageData.put("firstName", "Ima"); // required | + | messageData.put("firstName", "Ima"); <span style="color:green">// required</span> |
messageData.put("middleName", "Joy"); | messageData.put("middleName", "Joy"); | ||
− | messageData.put("lastName", "Usertino"); | + | messageData.put("lastName", "Usertino"); <span style="color:green">// required</span> |
messageData.put("address1", "94 N. High St"); | messageData.put("address1", "94 N. High St"); | ||
messageData.put("address2", "Suite 100"); | messageData.put("address2", "Suite 100"); | ||
Line 14: | Line 14: | ||
messageData.put("postal", "43017"); | messageData.put("postal", "43017"); | ||
messageData.put("timeZone", "America/Chicago"); | messageData.put("timeZone", "America/Chicago"); | ||
− | 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> |
messageData.put("provider", "false"); | messageData.put("provider", "false"); | ||
messageData.put("directAddress", "practice_direct"); | messageData.put("directAddress", "practice_direct"); |
Revision as of 15:23, 21 November 2013
private Map<String,Object> BuildMessage() throws Exception { Map<String,Object> messageData = new HashMap(); messageData.put("userId","newUserId"); messageData.put("loginId","newLoginId"); messageData.put("loginPassword","password"); messageData.put("firstName", "Ima"); // required messageData.put("middleName", "Joy"); messageData.put("lastName", "Usertino"); // required messageData.put("address1", "94 N. High St"); messageData.put("address2", "Suite 100"); messageData.put("city", "Dublin"); messageData.put("state", "OH"); messageData.put("postal", "43017"); messageData.put("timeZone", "America/Chicago"); messageData.put("active","true"); // recommended, defaults to "false" messageData.put("provider", "false"); messageData.put("directAddress", "practice_direct"); authData.put("applicationId", "vendorId"); authData.put("applicationPassword", "vendorPassword"); authData.put("accountId", "accountId"); return messageData; }