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": "e3fc50aa-e03f-4d2b-b722-d3198ab0b467",
"uniqueId": "2228a576-9e10-4f6d-a7da-da9be7bf80c5",
"jobUid": "7e552a40-775a-479e-b5de-fe4891ee5e05",
"clientUid": "86a4e24c-d621-4309-848a-825e485ae666",
"projectKeyUid": "d827e841-994d-4f6f-b445-58317cddcc5d",
"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": "e3fc50aa-e03f-4d2b-b722-d3198ab0b467",
"uniqueId": "2228a576-9e10-4f6d-a7da-da9be7bf80c5",
"jobUid": "7e552a40-775a-479e-b5de-fe4891ee5e05",
"clientUid": "86a4e24c-d621-4309-848a-825e485ae666",
"projectKeyUid": "d827e841-994d-4f6f-b445-58317cddcc5d",
"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>86a4e24c-d621-4309-848a-825e485ae666</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>e3fc50aa-e03f-4d2b-b722-d3198ab0b467</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>7e552a40-775a-479e-b5de-fe4891ee5e05</JobUid>
<ProjectKeyUid>d827e841-994d-4f6f-b445-58317cddcc5d</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>2228a576-9e10-4f6d-a7da-da9be7bf80c5</UniqueId>
</StorageViewModel>
<StorageViewModel>
<ClientUid>86a4e24c-d621-4309-848a-825e485ae666</ClientUid>
<CompanyId>2</CompanyId>
<CompanyUniqueId>e3fc50aa-e03f-4d2b-b722-d3198ab0b467</CompanyUniqueId>
<Description>sample string 8</Description>
<FileName>sample string 5</FileName>
<Filesize>6</Filesize>
<FolderId>1</FolderId>
<Id>1</Id>
<IsExist>true</IsExist>
<JobUid>7e552a40-775a-479e-b5de-fe4891ee5e05</JobUid>
<ProjectKeyUid>d827e841-994d-4f6f-b445-58317cddcc5d</ProjectKeyUid>
<StorageCategoryId>1</StorageCategoryId>
<UniqueFileName>sample string 7</UniqueFileName>
<UniqueId>2228a576-9e10-4f6d-a7da-da9be7bf80c5</UniqueId>
</StorageViewModel>
</ArrayOfStorageViewModel>