POST api/RelatedFile/AttachFile
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": "ab1ffdb2-de78-42ed-805f-b2a3fe0c7376",
"uniqueId": "48d5c82c-01f8-45c6-8a00-a59cc25e1785",
"jobUid": "e46c7b05-e6e3-4a86-9a73-11f5833e768b",
"clientUid": "46ba6f9f-7bc7-471e-8c33-dd76fc21ad67",
"projectKeyUid": "0ec06c90-d50b-42f4-9cf1-6e2edc8375d9",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "4a01eada-2a25-4ff7-95d8-97a13e35f1d4",
"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": "43b088f4-1ae0-4c55-a368-ebe72e4aa7f3",
"uniqueId": "932891e4-7259-4215-94a1-b193a33c7f91",
"jobUid": "5e35106c-e0ea-45da-904f-c3cc0949dfed",
"clientUid": "4dbfb4ef-4135-4c06-b35f-4886ed70ce52",
"projectKeyUid": "42737082-0c6d-4570-93a5-cb73b57c38e0",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "9da56e53-ebfc-4b2a-b2c1-b9be029f0a81",
"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.