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": "47f8ed2a-08b5-4b75-be4b-6922ccc066c4",
"uniqueId": "1b9a9786-bad1-4bc0-a1b3-d0e823c7321c",
"jobUid": "d7b15180-a546-4489-ae6d-f75ca6de39d0",
"clientUid": "66f7aa67-a43c-4989-bb03-946a2d21258e",
"projectKeyUid": "f7cf8e74-db43-417d-a70a-26af50a6388b",
"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": "47f8ed2a-08b5-4b75-be4b-6922ccc066c4",
"uniqueId": "1b9a9786-bad1-4bc0-a1b3-d0e823c7321c",
"jobUid": "d7b15180-a546-4489-ae6d-f75ca6de39d0",
"clientUid": "66f7aa67-a43c-4989-bb03-946a2d21258e",
"projectKeyUid": "f7cf8e74-db43-417d-a70a-26af50a6388b",
"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>66f7aa67-a43c-4989-bb03-946a2d21258e</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>47f8ed2a-08b5-4b75-be4b-6922ccc066c4</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>d7b15180-a546-4489-ae6d-f75ca6de39d0</JobUid>
<ProjectKeyUid>f7cf8e74-db43-417d-a70a-26af50a6388b</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>1b9a9786-bad1-4bc0-a1b3-d0e823c7321c</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>66f7aa67-a43c-4989-bb03-946a2d21258e</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>47f8ed2a-08b5-4b75-be4b-6922ccc066c4</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>d7b15180-a546-4489-ae6d-f75ca6de39d0</JobUid>
<ProjectKeyUid>f7cf8e74-db43-417d-a70a-26af50a6388b</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>1b9a9786-bad1-4bc0-a1b3-d0e823c7321c</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>