Search Results for

    Show / Hide Table of Contents

    Method UploadFileBase64

    UploadFileBase64(String, String)

    Upload file base64

    Declaration
    string UploadFileBase64(string connectionId, string fileContentbase64)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String fileContentbase64

    The file content encoded in base64.

    Returns
    Type Description
    System.String

    Returns a file id.

    Examples

    POST http://YourServerName/InfoShare/Json/File/UploadFileBase64

    Example for upload file base64.

    {
       "connectionId": "bbf760ba-6bdb-45b6-9eec-992669fc7359",
       "fileContentbase64": "UG9seWZvbiB6d2l0c2NoZXJuZCBhw59lbiBNw6R4Y2hlbnMgVsO2Z2VsIFLDvGJlbiwgSm9naHVydCB1bmQgUXVhcms="
    }

    Response:

    {
       "UploadFileBase64Result": "17820e29-11ee-4890-8648-3463dd0b5418"
    }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

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

    Back to top Copyright © Kendox