GET api/RelatedFile/{id}?moduleType={moduleType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| moduleType | RelatedFileModuleTypeEnum |
Required |
|
| id | string |
None. |
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": "b26e6c04-3ea0-4f9f-9713-e1ce65eba436",
"uniqueId": "fb2252e7-6fe1-41d3-97dc-52cbe2dc33ec",
"jobUid": "cbce6c9c-3df9-4818-ba1c-f51167f0f360",
"clientUid": "9da0f8c9-aac1-4201-b9a9-6f8bfc293740",
"projectKeyUid": "26386c11-d495-41bc-8311-33da5c61bb34",
"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": "b26e6c04-3ea0-4f9f-9713-e1ce65eba436",
"uniqueId": "fb2252e7-6fe1-41d3-97dc-52cbe2dc33ec",
"jobUid": "cbce6c9c-3df9-4818-ba1c-f51167f0f360",
"clientUid": "9da0f8c9-aac1-4201-b9a9-6f8bfc293740",
"projectKeyUid": "26386c11-d495-41bc-8311-33da5c61bb34",
"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>9da0f8c9-aac1-4201-b9a9-6f8bfc293740</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>b26e6c04-3ea0-4f9f-9713-e1ce65eba436</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>cbce6c9c-3df9-4818-ba1c-f51167f0f360</JobUid>
<ProjectKeyUid>26386c11-d495-41bc-8311-33da5c61bb34</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>fb2252e7-6fe1-41d3-97dc-52cbe2dc33ec</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>9da0f8c9-aac1-4201-b9a9-6f8bfc293740</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>b26e6c04-3ea0-4f9f-9713-e1ce65eba436</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>cbce6c9c-3df9-4818-ba1c-f51167f0f360</JobUid>
<ProjectKeyUid>26386c11-d495-41bc-8311-33da5c61bb34</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>fb2252e7-6fe1-41d3-97dc-52cbe2dc33ec</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>