GET api/RelatedFile/LoadFiles?moduleType={moduleType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| moduleType | RelatedFileModuleTypeEnum |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StorageViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| CompanyUniqueId | globally unique identifier |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| JobUid | globally unique identifier |
None. |
|
| ClientUid | globally unique identifier |
None. |
|
| ProjectKeyUid | globally unique identifier |
None. |
|
| StorageCategoryId | integer |
None. |
|
| FileName | string |
None. |
|
| Filesize | integer |
None. |
|
| UniqueFileName | string |
None. |
|
| Description | string |
None. |
|
| IsExist | boolean |
None. |
|
| FolderId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"companyId": 2,
"companyUniqueId": "872d71c8-0990-4c7a-b9fa-d59fc6415110",
"uniqueId": "afdeaa8c-24ff-4298-b9eb-3ccdde46c7c9",
"jobUid": "433baf63-7194-46e6-a0a0-c68dec83f9ea",
"clientUid": "ef6006e4-cc1c-46b8-83d1-0544713c2c5f",
"projectKeyUid": "5c84cd8f-9545-4c36-b13a-5604d97b7f0e",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
},
{
"id": 1,
"companyId": 2,
"companyUniqueId": "872d71c8-0990-4c7a-b9fa-d59fc6415110",
"uniqueId": "afdeaa8c-24ff-4298-b9eb-3ccdde46c7c9",
"jobUid": "433baf63-7194-46e6-a0a0-c68dec83f9ea",
"clientUid": "ef6006e4-cc1c-46b8-83d1-0544713c2c5f",
"projectKeyUid": "5c84cd8f-9545-4c36-b13a-5604d97b7f0e",
"storageCategoryId": 1,
"fileName": "sample string 5",
"filesize": 6,
"uniqueFileName": "sample string 7",
"description": "sample string 8",
"isExist": true,
"folderId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfStorageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<StorageViewModel>
<ClientUid>ef6006e4-cc1c-46b8-83d1-0544713c2c5f</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>872d71c8-0990-4c7a-b9fa-d59fc6415110</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>433baf63-7194-46e6-a0a0-c68dec83f9ea</JobUid>
<ProjectKeyUid>5c84cd8f-9545-4c36-b13a-5604d97b7f0e</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>afdeaa8c-24ff-4298-b9eb-3ccdde46c7c9</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>ef6006e4-cc1c-46b8-83d1-0544713c2c5f</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>872d71c8-0990-4c7a-b9fa-d59fc6415110</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>433baf63-7194-46e6-a0a0-c68dec83f9ea</JobUid>
<ProjectKeyUid>5c84cd8f-9545-4c36-b13a-5604d97b7f0e</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>afdeaa8c-24ff-4298-b9eb-3ccdde46c7c9</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>