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": "a33c1ab3-594e-4d66-8002-2dda85f0566f",
"uniqueId": "9fb85a61-b7db-47ac-9fae-b0a2d5914d81",
"jobUid": "bbebe41f-6ba2-4594-bf06-b5318d932b16",
"clientUid": "809b8062-d43a-41b3-bcc6-0aadfc90b8b4",
"projectKeyUid": "4cc65425-9093-45b0-a733-da3b42a290b0",
"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": "a33c1ab3-594e-4d66-8002-2dda85f0566f",
"uniqueId": "9fb85a61-b7db-47ac-9fae-b0a2d5914d81",
"jobUid": "bbebe41f-6ba2-4594-bf06-b5318d932b16",
"clientUid": "809b8062-d43a-41b3-bcc6-0aadfc90b8b4",
"projectKeyUid": "4cc65425-9093-45b0-a733-da3b42a290b0",
"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>809b8062-d43a-41b3-bcc6-0aadfc90b8b4</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>a33c1ab3-594e-4d66-8002-2dda85f0566f</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>bbebe41f-6ba2-4594-bf06-b5318d932b16</JobUid>
<ProjectKeyUid>4cc65425-9093-45b0-a733-da3b42a290b0</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>9fb85a61-b7db-47ac-9fae-b0a2d5914d81</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>809b8062-d43a-41b3-bcc6-0aadfc90b8b4</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>a33c1ab3-594e-4d66-8002-2dda85f0566f</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>bbebe41f-6ba2-4594-bf06-b5318d932b16</JobUid>
<ProjectKeyUid>4cc65425-9093-45b0-a733-da3b42a290b0</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>9fb85a61-b7db-47ac-9fae-b0a2d5914d81</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>