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": "39ddf137-ef70-48ae-b995-5d888650637e",
"uniqueId": "75a96f98-3f7e-47b8-834f-3a40319b6438",
"jobUid": "0ce51ee2-0d8d-4153-9eaf-3908764b9308",
"clientUid": "bc6ca513-a83a-4e7b-b460-506e7809d8c8",
"projectKeyUid": "c4b69992-8ef0-4fc5-a00c-25320a535e06",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "d78ddd96-ef37-4a37-95ba-f523b76c3287",
"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": "9ba800fa-257c-45d1-9021-892ad458ae0c",
"uniqueId": "8d612edf-8821-4e88-a975-1487e2dc6529",
"jobUid": "39760599-678e-4db9-bd3d-ad02732f3766",
"clientUid": "a74e7c66-1f10-4026-bc52-f1d76302c6bd",
"projectKeyUid": "0fc6c995-4809-4310-8db4-cbf2c22dfcc5",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "40af4a4d-34fb-4d0f-81a8-201330520cdd",
"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.