POST api/RelatedFile/SaveRelatedFile
Request Information
URI Parameters
None.
Body Parameters
RelatedFileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StorageViewModel | StorageViewModel |
None. |
|
| ModuleType | RelatedFileModuleTypeEnum |
None. |
|
| StorageFile | StorageFileViewModel |
None. |
|
| Index | integer |
None. |
|
| LoopPaths | Collection of RelatedFilePathViewModel |
None. |
|
| SelectedPath | string |
None. |
|
| IsAttach | boolean |
None. |
|
| FileFolderIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"storageViewModel": {
"id": 1,
"companyId": 2,
"companyUniqueId": "c6ee7586-9823-4f28-9d7e-176e556ea966",
"uniqueId": "e4734cee-9d5c-48ba-9efa-e6105c5e1f6f",
"jobUid": "22a0706b-c3a5-4695-b1c2-078020ea409d",
"clientUid": "4de1b6d6-7f47-49ff-ab45-b5276fd9bfb1",
"projectKeyUid": "73ff0d5a-a7f8-4af7-9a16-3430ba13ae24",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "f54c7663-8a4c-4ff9-b12f-db817ecda5e0",
"fileName": "sample string 2",
"area": 1,
"file": null,
"inputStream": null,
"companyName": "sample string 3",
"folderType": "sample string 4",
"storageCategoryId": 1
},
"index": 1,
"loopPaths": [
{
"path": "sample string 1"
},
{
"path": "sample string 1"
}
],
"selectedPath": "sample string 2",
"isAttach": true,
"fileFolderIndex": 4
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RelatedFileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StorageViewModel | StorageViewModel |
None. |
|
| ModuleType | RelatedFileModuleTypeEnum |
None. |
|
| StorageFile | StorageFileViewModel |
None. |
|
| Index | integer |
None. |
|
| LoopPaths | Collection of RelatedFilePathViewModel |
None. |
|
| SelectedPath | string |
None. |
|
| IsAttach | boolean |
None. |
|
| FileFolderIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"storageViewModel": {
"id": 1,
"companyId": 2,
"companyUniqueId": "2c2eb4a6-bf71-4984-8ecb-523db1255510",
"uniqueId": "b76e3d45-9f81-4d6d-9c92-4cd54a356d4b",
"jobUid": "0f243c16-19ab-4d9d-b361-2b7b8ea4e2c4",
"clientUid": "ef683cd1-1112-493b-a37f-53632c7fcffe",
"projectKeyUid": "0f6b31fc-8b3f-464c-bbba-d1dd67ad5f69",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "82437ddb-68cd-4345-90f4-8b4aa77ebc2d",
"fileName": "sample string 2",
"area": 1,
"file": null,
"inputStream": null,
"companyName": "sample string 3",
"folderType": "sample string 4",
"storageCategoryId": 1
},
"index": 1,
"loopPaths": [
{
"path": "sample string 1"
},
{
"path": "sample string 1"
}
],
"selectedPath": "sample string 2",
"isAttach": true,
"fileFolderIndex": 4
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.