Upload

Uploads a file encoded using the Base46 scheme to the FintechOS platform server. You can use this in conjunction with the Download API endpoint to transfer files between FintechOS platform servers.

Syntax

Copy
POST <host_address>/api/openApiV2/Upload
            
Content-Type: application/json
AccessToken: <access_token>
            
{
    "Name":<file_name>,
    "Base64Content": <file_content>
}
 
Parameter Description
host_address URL of the FintechOS platform server.
access_token Access token used to connect to the API endpoint. For details, see Authentication.
file_name Name of the file to be uploaded to the FintechOS server.
file_content Base64 encoded content of the file to be uploaded to the FintechOS server.

Response

Copy
{
    "Name": "test.jpg",
    "RealName": "test_45f79dbf-d788-4e65-9b2b-d0abfbd6bcda.jpg",
    "IsSuccess": true,
    "Message": null,
    "ClientScript": null,
    "Serialized": null,
    "ErrorCode": 0,
    "UIResult": null
}
 
Parameter Description
Name Name of the uploaded file.
RealName ID of the newly uploaded file.
IsSuccess Indicates if the upload was successful or not.

Examples