PUT api/wells/{idOfWell}/integrities/{idOfFileSpec}
Put DTO model
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idOfWell |
Id of well |
integer |
Required |
idOfFileSpec |
Id of file specification |
globally unique identifier |
Required |
Body Parameters
DTO model to change
IntegrityOfWellDtoName | Description | Type | Additional information |
---|---|---|---|
IdOfWell |
Id of well |
integer |
None. |
IdOfFileSpec |
Id of file specification |
globally unique identifier |
None. |
Name |
Volume name |
string |
None. |
Description |
Volume description |
string |
None. |
FileSpecDto |
File specification for this volume |
FileSpecDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdOfWell": 1, "IdOfFileSpec": "133cf1cb-5689-4bf5-92d9-d1434ceba0ca", "Name": "sample string 3", "Description": "sample string 4", "FileSpecDto": { "Id": "7bbc4100-ea5c-41b4-bb50-b5bd5e2eab2c", "Name": "sample string 2", "Extension": "sample string 3", "ContentType": "sample string 4", "Length": 5, "ContainerName": "e90e0040-9466-4a0d-a55b-49f801652b37", "CreatedUnixTime": 7, "FileUrl": "sample string 8", "ImgWidth": 1, "ImgHeight": 1 } }
application/xml, text/xml
Sample:
<IntegrityOfWellDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <Description>sample string 4</Description> <FileSpecDto> <ContainerName>e90e0040-9466-4a0d-a55b-49f801652b37</ContainerName> <ContentType>sample string 4</ContentType> <CreatedUnixTime>7</CreatedUnixTime> <Extension>sample string 3</Extension> <FileUrl>sample string 8</FileUrl> <Id>7bbc4100-ea5c-41b4-bb50-b5bd5e2eab2c</Id> <ImgHeight>1</ImgHeight> <ImgWidth>1</ImgWidth> <Length>5</Length> <Name>sample string 2</Name> </FileSpecDto> <IdOfFileSpec>133cf1cb-5689-4bf5-92d9-d1434ceba0ca</IdOfFileSpec> <IdOfWell>1</IdOfWell> <Name>sample string 3</Name> </IntegrityOfWellDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Changed DTO model
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.