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": "90c7bde3-347a-403a-8c92-918b768d5b8b",
"uniqueId": "8934bac3-1cf5-46bb-ae15-4b0cfd630d1d",
"jobUid": "e4d54cc7-1ddb-482f-932a-72b428eb165a",
"clientUid": "e4973e02-dbfa-412e-86e8-0f791a83117c",
"projectKeyUid": "a2e03d47-75be-4063-a878-41ae8542348e",
"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": "90c7bde3-347a-403a-8c92-918b768d5b8b",
"uniqueId": "8934bac3-1cf5-46bb-ae15-4b0cfd630d1d",
"jobUid": "e4d54cc7-1ddb-482f-932a-72b428eb165a",
"clientUid": "e4973e02-dbfa-412e-86e8-0f791a83117c",
"projectKeyUid": "a2e03d47-75be-4063-a878-41ae8542348e",
"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>e4973e02-dbfa-412e-86e8-0f791a83117c</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>90c7bde3-347a-403a-8c92-918b768d5b8b</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>e4d54cc7-1ddb-482f-932a-72b428eb165a</JobUid>
<ProjectKeyUid>a2e03d47-75be-4063-a878-41ae8542348e</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>8934bac3-1cf5-46bb-ae15-4b0cfd630d1d</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>e4973e02-dbfa-412e-86e8-0f791a83117c</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>90c7bde3-347a-403a-8c92-918b768d5b8b</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>e4d54cc7-1ddb-482f-932a-72b428eb165a</JobUid>
<ProjectKeyUid>a2e03d47-75be-4063-a878-41ae8542348e</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>8934bac3-1cf5-46bb-ae15-4b0cfd630d1d</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>