DELETE api/{stagePlural}/sections/{idOfSection}/file-specs
Delete files from section
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stagePlural |
Stage in plural mode: wells, well-regions... |
string |
Required |
idOfSection |
Section id |
globally unique identifier |
Required |
Body Parameters
List of files
Collection of FileSpecDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
File id |
globally unique identifier |
None. |
Name |
File name |
string |
None. |
Extension |
File extension (with dot): .pdf .txt ... |
string |
None. |
ContentType |
Content type, 'text/plain', 'application/pdf'... |
string |
None. |
Length |
File size, in bytes |
integer |
None. |
ContainerName |
Container (folder) name: used company id as container name |
globally unique identifier |
None. |
CreatedUnixTime |
Created data, in seconds from epoch |
integer |
None. |
FileUrl |
File url: to download or view |
string |
None. |
ImgWidth |
Image width, in pixels |
integer |
None. |
ImgHeight |
Image height, in pixels |
integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "e7626ab4-31af-487c-aa0c-436bf54328cd", "Name": "sample string 2", "Extension": "sample string 3", "ContentType": "sample string 4", "Length": 5, "ContainerName": "7e60d4ef-e9eb-4ff8-9b7f-f0f04eebe34d", "CreatedUnixTime": 7, "FileUrl": "sample string 8", "ImgWidth": 1, "ImgHeight": 1 }, { "Id": "e7626ab4-31af-487c-aa0c-436bf54328cd", "Name": "sample string 2", "Extension": "sample string 3", "ContentType": "sample string 4", "Length": 5, "ContainerName": "7e60d4ef-e9eb-4ff8-9b7f-f0f04eebe34d", "CreatedUnixTime": 7, "FileUrl": "sample string 8", "ImgWidth": 1, "ImgHeight": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfFileSpecDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <FileSpecDto> <ContainerName>7e60d4ef-e9eb-4ff8-9b7f-f0f04eebe34d</ContainerName> <ContentType>sample string 4</ContentType> <CreatedUnixTime>7</CreatedUnixTime> <Extension>sample string 3</Extension> <FileUrl>sample string 8</FileUrl> <Id>e7626ab4-31af-487c-aa0c-436bf54328cd</Id> <ImgHeight>1</ImgHeight> <ImgWidth>1</ImgWidth> <Length>5</Length> <Name>sample string 2</Name> </FileSpecDto> <FileSpecDto> <ContainerName>7e60d4ef-e9eb-4ff8-9b7f-f0f04eebe34d</ContainerName> <ContentType>sample string 4</ContentType> <CreatedUnixTime>7</CreatedUnixTime> <Extension>sample string 3</Extension> <FileUrl>sample string 8</FileUrl> <Id>e7626ab4-31af-487c-aa0c-436bf54328cd</Id> <ImgHeight>1</ImgHeight> <ImgWidth>1</ImgWidth> <Length>5</Length> <Name>sample string 2</Name> </FileSpecDto> </ArrayOfFileSpecDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
No content
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.