question: public ScVolume createViewVolume ( String name , String instanceId ) throws StorageCenterAPIException { LOG . debug ( "Creating view volume of replay {}" , instanceId ) ; String errorMessage = "" ; Parameters params = new Parameters ( ) ; params . add ( "Name" , name ) ; params . add ( "Notes" , NOTES_STRING ) ; try { RestResult result = restClient . post ( String . format ( "StorageCenter/ScReplay/%s/CreateView" , instanceId ) , params . toJson ( ) ) ; if ( checkResults ( result ) ) { return gson . fromJson ( result . getResult ( ) , ScVolume . class ) ; } } catch ( Exception e ) { errorMessage = String . format ( "Error creating view volume: %s" , e ) ; LOG . warn ( errorMessage ) ; } if ( errorMessage . length ( ) == 0 ) { errorMessage = String . format ( "Unable to create view volume %s from replay %s" , name , instanceId ) ; } throw new StorageCenterAPIException ( errorMessage ) ; }
target:  Creates a volume from a snapshot.