code: public static base_responses add(nitro_service client, scpolicy resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			scpolicy addresources[] = new scpolicy[resources.length];
  			for (int i=0;i<resources.length;i++){
  				addresources[i] = new scpolicy();
  				addresources[i].name = resources[i].name;
  				addresources[i].url = resources[i].url;
  				addresources[i].rule = resources[i].rule;
  				addresources[i].delay = resources[i].delay;
  				addresources[i].maxconn = resources[i].maxconn;
  				addresources[i].action = resources[i].action;
  				addresources[i].altcontentsvcname = resources[i].altcontentsvcname;
  				addresources[i].altcontentpath = resources[i].altcontentpath;
  			}
  			result = add_bulk_request(client, addresources);
  		}
  		return result;
  	}
docs: Use this API to add scpolicy resources.