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": "6ee68204-1197-4384-ab69-c1d010031053",
"uniqueId": "2fa14f02-9dc7-4eeb-b4db-61f90a72da6c",
"jobUid": "b63e1425-6337-46fd-937d-a218fdd479a1",
"clientUid": "1a00a01c-5725-4a94-b181-14609fa4c209",
"projectKeyUid": "9a491a46-8bb6-49e2-9f8c-45a170fd4b9f",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "b8b3574e-f2b1-48ac-93fe-a71c68ad83e7",
"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": "2fae0ab9-4dee-4717-8c1f-75e3aa7621b7",
"uniqueId": "77aeecb2-44cc-4bd7-9f24-820c6a7d0909",
"jobUid": "a982e9b7-338c-471b-80c5-f30726fed9c5",
"clientUid": "d918df61-99f6-42a0-bdb4-a5e1d505373d",
"projectKeyUid": "3d4ba68c-444d-4b88-96eb-b9d4ce0ed646",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
"moduleType": 1,
"storageFile": {
"uniqueId": "dd31c143-139a-4e7e-96c7-52b515b57827",
"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.