GET api/Storage/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| 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": "ed7c418f-702d-439b-8255-99efc1c47e8b",
"uniqueId": "d27b7569-6948-4df4-a576-fa2253977ddc",
"jobUid": "d1e26003-7c78-448e-bacf-b5b579913b22",
"clientUid": "f87e3ac0-4022-4893-b5c1-432f8326590b",
"projectKeyUid": "cc5f289c-7294-4b51-a8ee-f76d780c3eb7",
"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": "ed7c418f-702d-439b-8255-99efc1c47e8b",
"uniqueId": "d27b7569-6948-4df4-a576-fa2253977ddc",
"jobUid": "d1e26003-7c78-448e-bacf-b5b579913b22",
"clientUid": "f87e3ac0-4022-4893-b5c1-432f8326590b",
"projectKeyUid": "cc5f289c-7294-4b51-a8ee-f76d780c3eb7",
"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>f87e3ac0-4022-4893-b5c1-432f8326590b</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>ed7c418f-702d-439b-8255-99efc1c47e8b</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>d1e26003-7c78-448e-bacf-b5b579913b22</JobUid>
<ProjectKeyUid>cc5f289c-7294-4b51-a8ee-f76d780c3eb7</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>d27b7569-6948-4df4-a576-fa2253977ddc</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>f87e3ac0-4022-4893-b5c1-432f8326590b</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>ed7c418f-702d-439b-8255-99efc1c47e8b</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>d1e26003-7c78-448e-bacf-b5b579913b22</JobUid>
<ProjectKeyUid>cc5f289c-7294-4b51-a8ee-f76d780c3eb7</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>d27b7569-6948-4df4-a576-fa2253977ddc</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>