Search Results for

    Show / Hide Table of Contents

    Method GetServerLogFile

    GetServerLogFile(String, String)

    Get an id to download a specific server log file

    Declaration
    string GetServerLogFile(string connectionId, string logFile)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id {connectionId} isn't valid or has expired (10008)

    System.String logFile

    Name of the file to be downloaded

    Returns
    Type Description
    System.String

    An id that can be used to download the file using a download method (e.g. DownloadTempFile(String, String))

    Examples

    POST http://YourServerName/InfoShare/Json/Server/GetServerLogFile

    Example for get server log file.

    {
        "connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
        "logFile": "Server-9.log"
    }

    Response:

    {
        "GetServerLogFileResult": "f65666c6-71e0-41c6-bb4a-cc5d0c95e04f"
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    File does not exist {file} (10012)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    ServiceException

    Not enough rights ({accessOperationName}, {accessOperationId}) (10071)

    Back to top Copyright © Kendox