POST api/wells/{idOfWell}/integrities
Post model
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idOfWell |
Well |
integer |
Required |
Body Parameters
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": "d3d4d4ad-f701-4a4d-aee8-038e18bc64d6", "Name": "sample string 3", "Description": "sample string 4", "FileSpecDto": { "Id": "a95e98a4-c98b-4be4-8116-850bc59f48d5", "Name": "sample string 2", "Extension": "sample string 3", "ContentType": "sample string 4", "Length": 5, "ContainerName": "051b6223-347d-447e-8e60-09132975f5c5", "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>051b6223-347d-447e-8e60-09132975f5c5</ContainerName> <ContentType>sample string 4</ContentType> <CreatedUnixTime>7</CreatedUnixTime> <Extension>sample string 3</Extension> <FileUrl>sample string 8</FileUrl> <Id>a95e98a4-c98b-4be4-8116-850bc59f48d5</Id> <ImgHeight>1</ImgHeight> <ImgWidth>1</ImgWidth> <Length>5</Length> <Name>sample string 2</Name> </FileSpecDto> <IdOfFileSpec>d3d4d4ad-f701-4a4d-aee8-038e18bc64d6</IdOfFileSpec> <IdOfWell>1</IdOfWell> <Name>sample string 3</Name> </IntegrityOfWellDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created DTO model
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.