POST api/well-logs/{idOfLogOfWell}/svg-elements
Post new svg elem to log
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idOfLogOfWell |
Id of log |
globally unique identifier |
Required |
Body Parameters
Figure data
SvgElemDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Figure id |
globally unique identifier |
None. |
Color |
Figure color |
string |
None. |
Tpe |
Figure type (Enums.ImgFigureEnum) Like svg graphic elements: https://developer.mozilla.org/en-US/docs/Web/SVG/Element#Basic_shapes |
string |
None. |
Opts |
Specific options as JSON string for figure: like circle, triangle, line, text characteristic |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "60e69311-3b3a-42a6-a54f-75fc9ca41f5c", "Color": "sample string 2", "Tpe": "sample string 3", "Opts": "sample string 4" }
application/xml, text/xml
Sample:
<SvgElemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models"> <Color>sample string 2</Color> <Id>60e69311-3b3a-42a6-a54f-75fc9ca41f5c</Id> <Opts>sample string 4</Opts> <Tpe>sample string 3</Tpe> </SvgElemDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created figure
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.