POST api/Storage/DeleteFile
Request Information
URI Parameters
None.
Body Parameters
StorageFileViewModelName | Description | Type | Additional information |
---|---|---|---|
UniqueId | globally unique identifier |
None. |
|
FileName | string |
None. |
|
Area | StorageAreaEnum |
None. |
|
File | HttpPostedFile |
None. |
|
InputStream | MemoryStream |
None. |
|
CompanyName | string |
None. |
|
FolderType | string |
None. |
|
StorageCategoryId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "uniqueId": "eaae8137-ed1a-4c37-98fd-9cf207b48de8", "fileName": "sample string 2", "area": 1, "file": null, "inputStream": null, "companyName": "sample string 3", "folderType": "sample string 4", "storageCategoryId": 1 }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of StorageViewModelName | 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": "ab29560c-218c-4548-a88f-0e3e4d0c181b", "uniqueId": "2f4d0513-4832-4cbd-963b-fb2a6aed2045", "jobUid": "4e8bf35d-a8b8-45ba-ba8a-cd11965484b6", "clientUid": "cb5655e1-2c1b-46a9-9254-af0e721e3d93", "projectKeyUid": "864d623c-d597-4c69-b798-902e76e7eadf", "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": "ab29560c-218c-4548-a88f-0e3e4d0c181b", "uniqueId": "2f4d0513-4832-4cbd-963b-fb2a6aed2045", "jobUid": "4e8bf35d-a8b8-45ba-ba8a-cd11965484b6", "clientUid": "cb5655e1-2c1b-46a9-9254-af0e721e3d93", "projectKeyUid": "864d623c-d597-4c69-b798-902e76e7eadf", "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>cb5655e1-2c1b-46a9-9254-af0e721e3d93</ClientUid> <CompanyId>2</CompanyId> <CompanyUniqueId>ab29560c-218c-4548-a88f-0e3e4d0c181b</CompanyUniqueId> <Description>sample string 8</Description> <FileName>sample string 5</FileName> <Filesize>6</Filesize> <FolderId>1</FolderId> <Id>1</Id> <IsExist>true</IsExist> <JobUid>4e8bf35d-a8b8-45ba-ba8a-cd11965484b6</JobUid> <ProjectKeyUid>864d623c-d597-4c69-b798-902e76e7eadf</ProjectKeyUid> <StorageCategoryId>1</StorageCategoryId> <UniqueFileName>sample string 7</UniqueFileName> <UniqueId>2f4d0513-4832-4cbd-963b-fb2a6aed2045</UniqueId> </StorageViewModel> <StorageViewModel> <ClientUid>cb5655e1-2c1b-46a9-9254-af0e721e3d93</ClientUid> <CompanyId>2</CompanyId> <CompanyUniqueId>ab29560c-218c-4548-a88f-0e3e4d0c181b</CompanyUniqueId> <Description>sample string 8</Description> <FileName>sample string 5</FileName> <Filesize>6</Filesize> <FolderId>1</FolderId> <Id>1</Id> <IsExist>true</IsExist> <JobUid>4e8bf35d-a8b8-45ba-ba8a-cd11965484b6</JobUid> <ProjectKeyUid>864d623c-d597-4c69-b798-902e76e7eadf</ProjectKeyUid> <StorageCategoryId>1</StorageCategoryId> <UniqueFileName>sample string 7</UniqueFileName> <UniqueId>2f4d0513-4832-4cbd-963b-fb2a6aed2045</UniqueId> </StorageViewModel> </ArrayOfStorageViewModel>