Template:Json ProviderDirectorySearch Block - Java

From Updox API
Revision as of 12:25, 25 February 2015 by Nrose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
   private Map<String,Object> BuildMessage() throws Exception
   {
       Map<String,Object> messageData = new HashMap();
       messageData.put("searchTerms","test");
       messageData.put("startIndex","0");
       messageData.put("resultQuantity","50");
 
       Map<String,Object> authData = new HashMap();
       authData.put("applicationId", "vendorId");
       authData.put("applicationPassword", "vendorPassword");
       authData.put("accountId", "accountId");
       authData.put("userId", "userId");
       messageData.put("auth", authData);
 
       return messageData;
   }