protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_conf_responses result = (ns_conf_responses) service.get_payload_formatter().string_to_resource(ns_conf_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.ns_conf_response_array);
		}
		ns_conf[] result_ns_conf = new ns_conf[result.ns_conf_response_array.length];
		
		for(int i = 0; i < result.ns_conf_response_array.length; i++)
		{
			result_ns_conf[i] = result.ns_conf_response_array[i].ns_conf[0];
		}
		
		return result_ns_conf;
	}
protected base_resource [ ] get_nitro_bulk_response ( nitro_service service , String response ) throws Exception { ns_conf_responses result = ( ns_conf_responses ) service . get_payload_formatter ( ) . string_to_resource ( ns_conf_responses . class , response ) ; if ( result . errorcode != 0 ) { if ( result . errorcode == SESSION_NOT_EXISTS ) service . clear_session ( ) ; throw new nitro_exception ( result . message , result . errorcode , ( base_response [ ] ) result . ns_conf_response_array ) ; } ns_conf [ ] result_ns_conf = new ns_conf [ result . ns_conf_response_array . length ] ; for ( int i = 0 ; i < result . ns_conf_response_array . length ; i ++ ) { result_ns_conf [ i ] = result . ns_conf_response_array [ i ] . ns_conf [ 0 ] ; } return result_ns_conf ; }
<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>