POST api/v1/projects/import
Import project file
Request Information
URI Parameters
None.
Body Parameters
request
ImportProjectFileV1Request| Name | Description | Type | Additional information |
|---|---|---|---|
| File |
File to upload. |
File |
Allowed file types xlsm xlsx. Maximum file name length 100 characters. Maximum file size 10 MB (10,485,760 bytes). |
Request Formats
multipart/form-data
Sample:
--84d208bd-4e09-43f7-8373-e5e09a4c7cd2 Content-Disposition: form-data; filename="projects.xlsm"; name="File" Content-Type: application/vnd.ms-excel.sheet.macroEnabled.12 This is an example text file --84d208bd-4e09-43f7-8373-e5e09a4c7cd2--
Response Information
Resource Description
Import project file
ImportProjectFileV1Response| Name | Description | Type | Additional information |
|---|---|---|---|
| ImportProjectFileId |
Import project file id |
universally unique identifier |
Example value: 51d2879d-b8eb-497c-9d0a-7ab5261c262e |
| Algorithm |
Algorithm |
FileV1HashAlgorithm |
Example value: SHA512 |
| Hash |
Hash |
Collection of byte |
Example value: 59, 177, 46, 218, 60, 41, 141, 181, 222, 37, 89, 127, 84, 217, 36, 242, 225, 126, 120, 162, 106, 216, 149, 62, 216, 33, 142, 230, 130, 240, 187, 190, 144, 33, 226, 243, 0, 157, 21, 44, 145, 27, 241, 242, 94, 198, 131, 169, 2, 113, 65, 102, 118, 122, 251, 216, 229, 189, 15, 176, 18, 78, 203, 138 |
| Size |
Size |
integer (64 bits) |
Required Example value: 7 |
Response Formats
application/json
Sample:
{
"ImportProjectFileId": "51d2879d-b8eb-497c-9d0a-7ab5261c262e",
"Algorithm": "SHA512",
"Hash": "O7Eu2jwpjbXeJVl/VNkk8uF+eKJq2JU+2CGO5oLwu76QIeLzAJ0VLJEb8fJexoOpAnFBZnZ6+9jlvQ+wEk7Lig==",
"Size": 7
}