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": "235c9fee-c9a0-4490-ac0e-4849884e89ce",
"uniqueId": "21b03bf1-f7dd-4f69-b18b-0773eeb9d0c8",
"jobUid": "eda039d5-56b3-4701-ba8f-451f6f8ef3e6",
"clientUid": "03f45d9f-66b5-4d50-892e-09715008b388",
"projectKeyUid": "26962c9f-66bb-4961-ae6d-6b9b2ee77207",
"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": "235c9fee-c9a0-4490-ac0e-4849884e89ce",
"uniqueId": "21b03bf1-f7dd-4f69-b18b-0773eeb9d0c8",
"jobUid": "eda039d5-56b3-4701-ba8f-451f6f8ef3e6",
"clientUid": "03f45d9f-66b5-4d50-892e-09715008b388",
"projectKeyUid": "26962c9f-66bb-4961-ae6d-6b9b2ee77207",
"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>03f45d9f-66b5-4d50-892e-09715008b388</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>235c9fee-c9a0-4490-ac0e-4849884e89ce</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>eda039d5-56b3-4701-ba8f-451f6f8ef3e6</JobUid>
<ProjectKeyUid>26962c9f-66bb-4961-ae6d-6b9b2ee77207</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>21b03bf1-f7dd-4f69-b18b-0773eeb9d0c8</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>03f45d9f-66b5-4d50-892e-09715008b388</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>235c9fee-c9a0-4490-ac0e-4849884e89ce</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>eda039d5-56b3-4701-ba8f-451f6f8ef3e6</JobUid>
<ProjectKeyUid>26962c9f-66bb-4961-ae6d-6b9b2ee77207</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>21b03bf1-f7dd-4f69-b18b-0773eeb9d0c8</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>