code: public static base_responses add(nitro_service client, tmtrafficaction resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			tmtrafficaction addresources[] = new tmtrafficaction[resources.length];
  			for (int i=0;i<resources.length;i++){
  				addresources[i] = new tmtrafficaction();
  				addresources[i].name = resources[i].name;
  				addresources[i].apptimeout = resources[i].apptimeout;
  				addresources[i].sso = resources[i].sso;
  				addresources[i].formssoaction = resources[i].formssoaction;
  				addresources[i].persistentcookie = resources[i].persistentcookie;
  				addresources[i].initiatelogout = resources[i].initiatelogout;
  				addresources[i].kcdaccount = resources[i].kcdaccount;
  				addresources[i].samlssoprofile = resources[i].samlssoprofile;
  			}
  			result = add_bulk_request(client, addresources);
  		}
  		return result;
  	}
docs: Use this API to add tmtrafficaction resources.