AssetServicesMultiPartUpload Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<AssetCreateReturnInformation> MultiPartUpload( Stream FileByteStream )
Content and parameters for the asset to be created
Request payload example:
------WebKitFormBoundaryBh9f51frBtjD7iLe Content-Disposition: form-data; name="schemadefault" true ------WebKitFormBoundaryBh9f51frBtjD7iLe Content-Disposition: form-data; name="updateonconflicts" true ------WebKitFormBoundaryBh9f51frBtjD7iLe Content-Disposition: form-data; name="parentfolder" af/25 ------WebKitFormBoundaryBh9f51frBtjD7iLe Content-Disposition: form-data; name="schemaid" ------WebKitFormBoundaryBh9f51frBtjD7iLe Content-Disposition: form-data; name="assetname" ------WebKitFormBoundaryBh9f51frBtjD7iLe Content-Disposition: form-data; name="file"; filename="fr-ca_dup_FRENCH-final.xml" Content-Type: text/xml ------WebKitFormBoundaryBh9f51frBtjD7iLe--
Information of upload asset
{
"AssetFolders": null,
"Assets": null,
"Errors": [],
"ManifestAssetId": null,
"RootFolderId": null,
"NamingConflictAssetId": null,
"SchemasToChoose": null,
"TempFileLocation": null,
"pageAction": "newasset",
"properties": {
"name": "fr-ca_dup_FRENCH-final",
"allowedCategoryRoots": [],
"ancestors": [
"af/25"
],
"assignedGroup": null,
"assignedUser": {
"name": "Jim",
"email": "jime@ingeniux.com",
"userId": "jim"
},
"canClaimPage": false,
"checkedOut": true,
"error": null,
"icon": 15,
"isAssignedToOtherUser": false,
"isEditable": true,
"isFolder": false,
"isInWorkflow": false,
"justRecycled": false,
"languageRootId": "af/25",
"lingualMaps": null,
"locale": "en-us",
"localeInherited": true,
"markedForPublish": false,
"markedForPublishAny": false,
"markedForPublishPropagated": true,
"nextPageIndex": 0,
"noDnd": false,
"pageId": "a/9683",
"parentId": "af/25",
"pendingMasterVersion": 0,
"referenceProps": {
"created": "20180402T22:53:10",
"createdBy": "jim",
"endDate": "",
"lastModified": "20180402T22:53:10",
"lastModifiedBy": "jim",
"publishAs": "",
"startDate": ""
},
"remoteServer": "",
"schemaFriendlyName": null,
"schemaName": "XML",
"schemaOnLatestVersion": false,
"securityLevel": 2,
"userCanCopyPage": true,
"workflow": null,
"assetSummary": {
"allowedExtensions": [
".xml",
".xaml",
".saml",
".dita",
".ditamap"
],
"audioCodec": null,
"audioCodecVersion": null,
"dimensions": null,
"dpi": 0,
"duration": null,
"videoCodec": null,
"videoCodecVersion": null
},
"assetType": "Xml",
"comments": "",
"extension": ".xml",
"externalUrl": "",
"fileSize": 24783,
"isUnmanaged": false,
"sourceUri": null
},
"queryString": {
"pageName": null,
"parentPageId": "af/25",
"schemaFile": null
}
}