GET api/RelatedFile?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": "032a9269-3bc1-4821-8106-1f278b6a7839",
"uniqueId": "b3f74d72-a69b-4a24-a35b-b08bfa370f49",
"jobUid": "526fabeb-613e-435c-9caf-dc9fb051c008",
"clientUid": "4b3cd924-a5c3-47f7-ae5c-f0c84009c104",
"projectKeyUid": "27025156-c37d-4757-a723-16591676af44",
"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": "032a9269-3bc1-4821-8106-1f278b6a7839",
"uniqueId": "b3f74d72-a69b-4a24-a35b-b08bfa370f49",
"jobUid": "526fabeb-613e-435c-9caf-dc9fb051c008",
"clientUid": "4b3cd924-a5c3-47f7-ae5c-f0c84009c104",
"projectKeyUid": "27025156-c37d-4757-a723-16591676af44",
"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>4b3cd924-a5c3-47f7-ae5c-f0c84009c104</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>032a9269-3bc1-4821-8106-1f278b6a7839</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>526fabeb-613e-435c-9caf-dc9fb051c008</JobUid>
<ProjectKeyUid>27025156-c37d-4757-a723-16591676af44</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>b3f74d72-a69b-4a24-a35b-b08bfa370f49</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>4b3cd924-a5c3-47f7-ae5c-f0c84009c104</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>032a9269-3bc1-4821-8106-1f278b6a7839</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>526fabeb-613e-435c-9caf-dc9fb051c008</JobUid>
<ProjectKeyUid>27025156-c37d-4757-a723-16591676af44</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>b3f74d72-a69b-4a24-a35b-b08bfa370f49</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>