POST api/well-histories/{idOfHistoryOfWell}/history-images
Post wfm image
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idOfHistoryOfWell |
Well history id |
integer |
Required |
Body Parameters
Wfm image
WfmImageDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Image Id |
integer |
None. |
X1 |
Start of horizontal recize |
decimal number |
None. |
X2 |
End of horizontal recize |
decimal number |
None. |
Y1 |
Start of vertical recize |
decimal number |
None. |
Y2 |
End of vertical recize |
decimal number |
None. |
CropXUnits |
X axis to crop |
decimal number |
None. |
CropYUnits |
Y axis to crop |
decimal number |
None. |
IdOfFileSpec |
Id of file spec |
globally unique identifier |
None. |
FileSpecDto |
File specification for this image |
FileSpecDto |
None. |
CroppedImageUrl |
Cropped history image url |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "X1": 2.1, "X2": 3.1, "Y1": 4.1, "Y2": 5.1, "CropXUnits": 6.1, "CropYUnits": 7.1, "IdOfFileSpec": "e51948bd-f2c6-4e6f-857b-730bf47bf09a", "FileSpecDto": { "Id": "0509af20-3d90-4a86-9d50-d362aece0391", "Name": "sample string 2", "Extension": "sample string 3", "ContentType": "sample string 4", "Length": 5, "ContainerName": "59d54427-4cbf-4387-ba88-dc4a02930504", "CreatedUnixTime": 7, "FileUrl": "sample string 8", "ImgWidth": 1, "ImgHeight": 1 }, "CroppedImageUrl": "sample string 9" }
application/xml, text/xml
Sample:
<WfmImageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <CropXUnits>6.1</CropXUnits> <CropYUnits>7.1</CropYUnits> <CroppedImageUrl>sample string 9</CroppedImageUrl> <FileSpecDto> <ContainerName>59d54427-4cbf-4387-ba88-dc4a02930504</ContainerName> <ContentType>sample string 4</ContentType> <CreatedUnixTime>7</CreatedUnixTime> <Extension>sample string 3</Extension> <FileUrl>sample string 8</FileUrl> <Id>0509af20-3d90-4a86-9d50-d362aece0391</Id> <ImgHeight>1</ImgHeight> <ImgWidth>1</ImgWidth> <Length>5</Length> <Name>sample string 2</Name> </FileSpecDto> <Id>1</Id> <IdOfFileSpec>e51948bd-f2c6-4e6f-857b-730bf47bf09a</IdOfFileSpec> <X1>2.1</X1> <X2>3.1</X2> <Y1>4.1</Y1> <Y2>5.1</Y2> </WfmImageDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created wfm image
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.