GET api/Storage
Request Information
URI Parameters
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": "8d965153-32ff-4d48-85fb-741d7ee834b4",
"uniqueId": "43aa024e-8ef2-4a76-a1ea-a539bffab2bd",
"jobUid": "cc2fca41-f72e-438b-ba01-a7a53e055df0",
"clientUid": "28cecd27-c44e-47cb-ab09-835942882e06",
"projectKeyUid": "1854e5a3-4481-4344-ada9-2ffd3a19ffb1",
"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": "8d965153-32ff-4d48-85fb-741d7ee834b4",
"uniqueId": "43aa024e-8ef2-4a76-a1ea-a539bffab2bd",
"jobUid": "cc2fca41-f72e-438b-ba01-a7a53e055df0",
"clientUid": "28cecd27-c44e-47cb-ab09-835942882e06",
"projectKeyUid": "1854e5a3-4481-4344-ada9-2ffd3a19ffb1",
"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>28cecd27-c44e-47cb-ab09-835942882e06</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>8d965153-32ff-4d48-85fb-741d7ee834b4</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>cc2fca41-f72e-438b-ba01-a7a53e055df0</JobUid>
<ProjectKeyUid>1854e5a3-4481-4344-ada9-2ffd3a19ffb1</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>43aa024e-8ef2-4a76-a1ea-a539bffab2bd</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>28cecd27-c44e-47cb-ab09-835942882e06</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>8d965153-32ff-4d48-85fb-741d7ee834b4</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>cc2fca41-f72e-438b-ba01-a7a53e055df0</JobUid>
<ProjectKeyUid>1854e5a3-4481-4344-ada9-2ffd3a19ffb1</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>43aa024e-8ef2-4a76-a1ea-a539bffab2bd</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>