/
NewFile Entity (2020/10)
NewFile Entity (2020/10)
NewFile
NewFile ('FileInfo.Type' property set to "New") is derived from the abstract 'FileInfo' structure, and is used to upload small files and for complete presentation creation or updates. See the example below (your values will vary for all but "type"):
{
"type": "New", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
"name": "hello.txt", // [string]
"size": 12, // [uint]
"hash": "", // [string]
"creationDate": null, // [DateTime]
"lastModifiedDate": null, // [DateTime]
"body": "SGVsbG8gV29ybGQh", // [string]
"transferEncoding": "BASE64" // one of { "None", "BASE64" } enumeration values
}
, multiple selections available,
Related content
MediaFile Entity (2022/06)
MediaFile Entity (2022/06)
More like this
StoredFile Entity (2020/10)
StoredFile Entity (2020/10)
More like this
RemoteFile Entity (2020/10)
RemoteFile Entity (2020/10)
More like this
FileInfo Entity and Derived Structures (2020/10)
FileInfo Entity and Derived Structures (2020/10)
More like this
FileInfo Entity and Derived Structures (2022/06)
FileInfo Entity and Derived Structures (2022/06)
More like this
WebPageFile Entity (2020/10)
WebPageFile Entity (2020/10)
More like this