Результаты поиска для

    Show / Hide Table of Contents

    Interface IReportFoldersClient

    Namespace: FastReport.Cloud
    Assembly: FastReport.Cloud.SDK.dll
    Syntax
    public interface IReportFoldersClient

    Methods

    CalculateFolderSize(String)

    Get specified folder, calculate it's size

    Declaration
    FolderSizeVM CalculateFolderSize(string id)
    Parameters
    Type Name Description
    System.String id

    folder id

    Returns
    Type Description
    FolderSizeVM

    Returns specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    CalculateFolderSizeAsync(String, System.Threading.CancellationToken)

    Get specified folder, calculate it's size

    Declaration
    System.Threading.Tasks.Task<FolderSizeVM> CalculateFolderSizeAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FolderSizeVM>

    Returns specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    CopyFolder(String, String)

    Move folder to a specified folder

    Declaration
    FileVM CopyFolder(string id, string folderId)
    Parameters
    Type Name Description
    System.String id

    moving folder id

    System.String folderId

    destination folder id

    Returns
    Type Description
    FileVM

    Folder has been moved to a specified folder

    Remarks

    User with a Update Place permission for a folder and Create Entity
    for a Parent Folder can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    CopyFolderAsync(String, String, System.Threading.CancellationToken)

    Move folder to a specified folder

    Declaration
    System.Threading.Tasks.Task<FileVM> CopyFolderAsync(string id, string folderId, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    moving folder id

    System.String folderId

    destination folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Folder has been moved to a specified folder

    Remarks

    User with a Update Place permission for a folder and Create Entity
    for a Parent Folder can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    DeleteFolder(String)

    Delete specified folder

    Declaration
    void DeleteFolder(string id)
    Parameters
    Type Name Description
    System.String id

    folder id

    Remarks

    User with a Delete Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    DeleteFolderAsync(String, System.Threading.CancellationToken)

    Delete specified folder

    Declaration
    System.Threading.Tasks.Task DeleteFolderAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Folder succesfully deleted

    Remarks

    User with a Delete Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    Export(String, ExportReportVM)

    Export specified report folder to a specified format

    Declaration
    FileVM Export(string id, ExportReportVM body = null)
    Parameters
    Type Name Description
    System.String id

    report folder id

    ExportReportVM body

    export parameters

    Returns
    Type Description
    FileVM

    Specified report folder has been exported

    Remarks

    User with Execute Export permission on report folder and
    Create Entity on an export folder can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    ExportAsync(String, ExportReportVM, System.Threading.CancellationToken)

    Export specified report folder to a specified format

    Declaration
    System.Threading.Tasks.Task<FileVM> ExportAsync(string id, ExportReportVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    report folder id

    ExportReportVM body

    export parameters

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Specified report folder has been exported

    Remarks

    User with Execute Export permission on report folder and
    Create Entity on an export folder can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetBreadcrumbs(String)

    Get specified folder breadcrumbs

    Declaration
    BreadcrumbsVM GetBreadcrumbs(string id)
    Parameters
    Type Name Description
    System.String id

    folder id

    Returns
    Type Description
    BreadcrumbsVM

    Returns breadcrumbs parents list (starts from root folder)

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetBreadcrumbsAsync(String, System.Threading.CancellationToken)

    Get specified folder breadcrumbs

    Declaration
    System.Threading.Tasks.Task<BreadcrumbsVM> GetBreadcrumbsAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<BreadcrumbsVM>

    Returns breadcrumbs parents list (starts from root folder)

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetFolder(String)

    Get specified folder

    Declaration
    FileVM GetFolder(string id)
    Parameters
    Type Name Description
    System.String id

    folder id

    Returns
    Type Description
    FileVM

    Returns specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetFolderAsync(String, System.Threading.CancellationToken)

    Get specified folder

    Declaration
    System.Threading.Tasks.Task<FileVM> GetFolderAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Returns specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetFolders(String, Nullable<Int32>, Nullable<Int32>, Nullable<FileSorting>, Nullable<Boolean>, String, Nullable<Boolean>)

    Get all folders from specified folder

    Declaration
    FilesVM GetFolders(string id, int? skip = null, int? take = null, FileSorting? orderBy = null, bool? desc = null, string searchPattern = null, bool? useRegex = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Nullable<System.Int32> skip

    number of files, that have to be skipped

    System.Nullable<System.Int32> take

    number of files, that have to be returned

    System.Nullable<FileSorting> orderBy
    System.Nullable<System.Boolean> desc
    System.String searchPattern
    System.Nullable<System.Boolean> useRegex
    Returns
    Type Description
    FilesVM

    Gets all folders from a specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetFoldersAsync(String, Nullable<Int32>, Nullable<Int32>, Nullable<FileSorting>, Nullable<Boolean>, String, Nullable<Boolean>, System.Threading.CancellationToken)

    Get all folders from specified folder

    Declaration
    System.Threading.Tasks.Task<FilesVM> GetFoldersAsync(string id, int? skip = null, int? take = null, FileSorting? orderBy = null, bool? desc = null, string searchPattern = null, bool? useRegex = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Nullable<System.Int32> skip

    number of files, that have to be skipped

    System.Nullable<System.Int32> take

    number of files, that have to be returned

    System.Nullable<FileSorting> orderBy
    System.Nullable<System.Boolean> desc
    System.String searchPattern
    System.Nullable<System.Boolean> useRegex
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FilesVM>

    Gets all folders from a specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetFoldersCount(String)

    Get count of folders what contains in a specified folder

    Declaration
    CountVM GetFoldersCount(string id)
    Parameters
    Type Name Description
    System.String id

    folder id

    Returns
    Type Description
    CountVM

    Returns count of folders in a specified folder

    Remarks

    User with a Get Count permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetFoldersCountAsync(String, System.Threading.CancellationToken)

    Get count of folders what contains in a specified folder

    Declaration
    System.Threading.Tasks.Task<CountVM> GetFoldersCountAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<CountVM>

    Returns count of folders in a specified folder

    Remarks

    User with a Get Count permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetMyPermissions(String)

    Get user's permissions for a folder by id

    Declaration
    FilePermissionCRUDVM GetMyPermissions(string folderId)
    Parameters
    Type Name Description
    System.String folderId

    folder id

    Returns
    Type Description
    FilePermissionCRUDVM

    Succesfully returned

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetMyPermissionsAsync(String, System.Threading.CancellationToken)

    Get user's permissions for a folder by id

    Declaration
    System.Threading.Tasks.Task<FilePermissionCRUDVM> GetMyPermissionsAsync(string folderId, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String folderId

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FilePermissionCRUDVM>

    Succesfully returned

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetOrCreate(String, String, String)

    Get specified folder

    Declaration
    FileVM GetOrCreate(string name = null, string subscriptionId = null, string parentId = null)
    Parameters
    Type Name Description
    System.String name

    folder name

    System.String subscriptionId

    subscriptionId

    System.String parentId

    parent folder id

    Returns
    Type Description
    FileVM

    Returns specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetOrCreateAsync(String, String, String, System.Threading.CancellationToken)

    Get specified folder

    Declaration
    System.Threading.Tasks.Task<FileVM> GetOrCreateAsync(string name = null, string subscriptionId = null, string parentId = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String name

    folder name

    System.String subscriptionId

    subscriptionId

    System.String parentId

    parent folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Returns specified folder

    Remarks

    User with a Get Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetPermissions(String)

    Get all folder permissions

    Declaration
    FilePermissionsVM GetPermissions(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type Description
    FilePermissionsVM

    returned permissions

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetPermissionsAsync(String, System.Threading.CancellationToken)

    Get all folder permissions

    Declaration
    System.Threading.Tasks.Task<FilePermissionsVM> GetPermissionsAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FilePermissionsVM>

    returned permissions

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetRootFolder(String)

    Get user's root folder (without parents)

    Declaration
    FileVM GetRootFolder(string subscriptionId = null)
    Parameters
    Type Name Description
    System.String subscriptionId
    Returns
    Type Description
    FileVM

    Gets user's root folder (without parents)

    Remarks

    Breakchange. Now user model doesn't contain a root folders.
    This method can return error 400 and 404 when subscription is not found.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    GetRootFolderAsync(String, System.Threading.CancellationToken)

    Get user's root folder (without parents)

    Declaration
    System.Threading.Tasks.Task<FileVM> GetRootFolderAsync(string subscriptionId = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String subscriptionId
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Gets user's root folder (without parents)

    Remarks

    Breakchange. Now user model doesn't contain a root folders.
    This method can return error 400 and 404 when subscription is not found.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    MoveFolder(String, String)

    Move folder to a specified folder

    Declaration
    FileVM MoveFolder(string id, string folderId)
    Parameters
    Type Name Description
    System.String id

    moving folder id

    System.String folderId

    destination folder id

    Returns
    Type Description
    FileVM

    Folder has been moved to a specified folder

    Remarks

    User with a Update Place permission for a folder and Create Entity
    for a Parent Folder can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    MoveFolderAsync(String, String, System.Threading.CancellationToken)

    Move folder to a specified folder

    Declaration
    System.Threading.Tasks.Task<FileVM> MoveFolderAsync(string id, string folderId, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    moving folder id

    System.String folderId

    destination folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Folder has been moved to a specified folder

    Remarks

    User with a Update Place permission for a folder and Create Entity
    for a Parent Folder can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    MoveFolderToBin(String)

    Move specified folder to recycle bin

    Declaration
    void MoveFolderToBin(string id)
    Parameters
    Type Name Description
    System.String id

    folder id

    Remarks

    User with a Delete Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    MoveFolderToBinAsync(String, System.Threading.CancellationToken)

    Move specified folder to recycle bin

    Declaration
    System.Threading.Tasks.Task MoveFolderToBinAsync(string id, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Folder succesfully deleted

    Remarks

    User with a Delete Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    PostFolder(String, ReportFolderCreateVM)

    Create folder

    Declaration
    FileVM PostFolder(string id, ReportFolderCreateVM body = null)
    Parameters
    Type Name Description
    System.String id

    Identifier of parent folder id

    ReportFolderCreateVM body

    create VM

    Returns
    Type Description
    FileVM

    New folder has been created)

    Remarks

    User with a Create Entity permisison can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    PostFolderAsync(String, ReportFolderCreateVM, System.Threading.CancellationToken)

    Create folder

    Declaration
    System.Threading.Tasks.Task<FileVM> PostFolderAsync(string id, ReportFolderCreateVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    Identifier of parent folder id

    ReportFolderCreateVM body

    create VM

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    New folder has been created)

    Remarks

    User with a Create Entity permisison can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    RecoverFolder(String, String)

    Recover specified folder

    Declaration
    void RecoverFolder(string id, string recoveryPath = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.String recoveryPath
    Remarks

    User with a Delete Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    RecoverFolderAsync(String, String, System.Threading.CancellationToken)

    Recover specified folder

    Declaration
    System.Threading.Tasks.Task RecoverFolderAsync(string id, string recoveryPath = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    folder id

    System.String recoveryPath
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Folder succesfully restored from bin

    Remarks

    User with a Delete Entity permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    RenameFolder(String, FolderRenameVM)

    Rename a folder

    Declaration
    FileVM RenameFolder(string id, FolderRenameVM body = null)
    Parameters
    Type Name Description
    System.String id
    FolderRenameVM body
    Returns
    Type Description
    FileVM

    Folder name has been updated

    Remarks

    User with a Update Name permision can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    RenameFolderAsync(String, FolderRenameVM, System.Threading.CancellationToken)

    Rename a folder

    Declaration
    System.Threading.Tasks.Task<FileVM> RenameFolderAsync(string id, FolderRenameVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id
    FolderRenameVM body
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Folder name has been updated

    Remarks

    User with a Update Name permision can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdateIcon(String, FolderIconVM)

    Update a folder's icon

    Declaration
    FileVM UpdateIcon(string id, FolderIconVM body = null)
    Parameters
    Type Name Description
    System.String id

    Identifier of folder

    FolderIconVM body

    Update icon model

    Returns
    Type Description
    FileVM

    Folder's icon has been updated

    Remarks

    User with a Update Icon permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdateIconAsync(String, FolderIconVM, System.Threading.CancellationToken)

    Update a folder's icon

    Declaration
    System.Threading.Tasks.Task<FileVM> UpdateIconAsync(string id, FolderIconVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id

    Identifier of folder

    FolderIconVM body

    Update icon model

    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Folder's icon has been updated

    Remarks

    User with a Update Icon permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdatePermissions(String, UpdateFilePermissionsVM)

    Update permissions

    Declaration
    void UpdatePermissions(string id, UpdateFilePermissionsVM body = null)
    Parameters
    Type Name Description
    System.String id
    UpdateFilePermissionsVM body
    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdatePermissionsAsync(String, UpdateFilePermissionsVM, System.Threading.CancellationToken)

    Update permissions

    Declaration
    System.Threading.Tasks.Task UpdatePermissionsAsync(string id, UpdateFilePermissionsVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id
    UpdateFilePermissionsVM body
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Folder's permissions has been updated

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdateTags(String, FolderTagsUpdateVM)

    Update tags

    Declaration
    FileVM UpdateTags(string id, FolderTagsUpdateVM body = null)
    Parameters
    Type Name Description
    System.String id
    FolderTagsUpdateVM body
    Returns
    Type Description
    FileVM

    Tags has been updated

    Remarks

    User with a Update Tags permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    UpdateTagsAsync(String, FolderTagsUpdateVM, System.Threading.CancellationToken)

    Update tags

    Declaration
    System.Threading.Tasks.Task<FileVM> UpdateTagsAsync(string id, FolderTagsUpdateVM body = null, System.Threading.CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    System.String id
    FolderTagsUpdateVM body
    System.Threading.CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    System.Threading.Tasks.Task<FileVM>

    Tags has been updated

    Remarks

    User with a Update Tags permission can access this method.

    Exceptions
    Type Condition
    ApiException

    A server side error occurred.

    Вверх © 1998-2025 ООО «Быстрые отчеты»