protected static base_resource[] update_bulk_request(nitro_service service,base_resource resources[]) throws Exception
	{
		if (!service.isLogin())
			service.login();
		
		String objtype = resources[0].get_object_type();

		String onerror = service.get_onerror();
		//String id = service.get_sessionid();
		String request = service.get_payload_formatter().resource_to_string(resources, null, onerror);
		String result = put_bulk_data(service,request,objtype);
		if(resources.length == 1)
			return resources[0].get_nitro_response(service, result);
		
		return resources[0].get_nitro_bulk_response(service, result);
	}
protected static base_resource [ ] update_bulk_request ( nitro_service service , base_resource resources [ ] ) throws Exception { if ( ! service . isLogin ( ) ) service . login ( ) ; String objtype = resources [ 0 ] . get_object_type ( ) ; String onerror = service . get_onerror ( ) ; String request = service . get_payload_formatter ( ) . resource_to_string ( resources , null , onerror ) ; String result = put_bulk_data ( service , request , objtype ) ; if ( resources . length == 1 ) return resources [ 0 ] . get_nitro_response ( service , result ) ; return resources [ 0 ] . get_nitro_bulk_response ( service , result ) ; }
Use this method to perform a modify operation on multiple MPS resources.
@param service nitro_service object.
@return status of the operation performed.
@throws Exception