code: public LookupHlr requestLookupHlr(final LookupHlr lookupHlr) throws UnauthorizedException, GeneralException {
          if (lookupHlr.getPhoneNumber() == null) {
              throw new IllegalArgumentException("PhoneNumber must be specified.");
          }
          if (lookupHlr.getReference() == null) {
              throw new IllegalArgumentException("Reference must be specified.");
          }
          final Map<String, Object> payload = new LinkedHashMap<String, Object>();
          payload.put("phoneNumber", lookupHlr.getPhoneNumber());
          payload.put("reference", lookupHlr.getReference());
          if (lookupHlr.getCountryCode() != null) {
              payload.put("countryCode", lookupHlr.getCountryCode());
          }
          return messageBirdService.sendPayLoad(String.format(LOOKUPHLRPATH, lookupHlr.getPhoneNumber()), payload, LookupHlr.class);
      }
docs: Request a Lookup HLR (lookup)
  
  @param lookupHlr country code for request lookup hlr
  @return lookupHlr
  @throws UnauthorizedException if client is unauthorized
  @throws GeneralException      general exception