Template:Json ProviderDirectorySearch Block - Java

From Updox API
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;
   }