POST api/RelatedFile/AttachFile

Request Information

URI Parameters

None.

Body Parameters

RelatedFileViewModel
NameDescriptionTypeAdditional 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": "b67c5b78-c668-444b-b151-7678b667a0c4",
    "uniqueId": "29865171-6ff6-4aff-84a3-606234987557",
    "jobUid": "7e424570-3163-470c-9fec-37bb7e8f3b33",
    "clientUid": "282b0d9b-0dc3-4fa2-b134-23a9203d8d2c",
    "projectKeyUid": "fc853f65-acf6-4756-ab1c-a9d2571f407a",
    "storageCategoryId": 1,
    "fileName": "sample string 5",
    "filesize": 6,
    "uniqueFileName": "sample string 7",
    "description": "sample string 8",
    "isExist": true,
    "folderId": 1
  },
  "moduleType": 1,
  "storageFile": {
    "uniqueId": "bbbd32db-ff08-4c8c-b549-d454b3dbb888",
    "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
NameDescriptionTypeAdditional 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": "2e54bec4-9765-471e-97af-c936c9aafe9a",
    "uniqueId": "67338397-2a20-43e0-8a7c-ecb743904c87",
    "jobUid": "93db50d9-a37e-47a6-b39b-355fd15150bd",
    "clientUid": "6de02b63-2fa3-4061-a172-6c89b9e5870d",
    "projectKeyUid": "8c8980ca-ead7-4e8b-a1c3-65b32067ac9b",
    "storageCategoryId": 1,
    "fileName": "sample string 5",
    "filesize": 6,
    "uniqueFileName": "sample string 7",
    "description": "sample string 8",
    "isExist": true,
    "folderId": 1
  },
  "moduleType": 1,
  "storageFile": {
    "uniqueId": "1585879a-811f-4639-9f28-3ad67ab95d12",
    "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.