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": "b3b2a2a8-82e4-47cb-a4b0-6dd1b63645e9",
"uniqueId": "ecf39bd9-50c1-4c06-94fb-a4fb3131e3da",
"jobUid": "65f2a1ab-f8fa-4aca-b13a-7c3097744ef3",
"clientUid": "9114d5a0-34c7-4bc9-8ed9-fb78194af4e9",
"projectKeyUid": "509dee62-e368-402b-bbe2-a20f4b596155",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "0926163d-b7ab-48eb-a77a-2a668186d614",
"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": "5cc39d17-472d-4d57-be88-9cd561922bc0",
"uniqueId": "09849fc5-9edb-47cb-9ead-34286469f28d",
"jobUid": "ae028e1f-a214-4448-955f-9d1b52c263ef",
"clientUid": "2c46d9d2-a838-4c70-a57a-d70f4458cf93",
"projectKeyUid": "7642cc37-cd32-466b-9206-9fac5824b24d",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "d295832c-dc3f-4d78-b3b6-fe5b370edbf0",
"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.