Create Survey Line String
  • 28 Aug 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create Survey Line String

  • Dark
    Light
  • PDF

Article summary

Post
/survey-lines/

Operation is used to create new Survey Line String. Available from product version 2024.3.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Survey Line String to be created

object

Survey Line String

code
string

Code

convertCode
integer

Convert code id

location
string (ewkt)

Geographical location

operator
integer

Operator id

surveyFile
integer Required

Survey file id

updatedBy
string

User who last updated the survey line string

updatedTs
string (date-time)

Last updated timestamp

zCoord
string

Z-coordinate

Responses
201

A newly created Survey Line String

{
  "code": "1",
  "convertCode": 123,
  "id": 12345,
  "length": 3249561.75,
  "location": "SRID=3067;LINESTRING Z (3456547.07 3459682.38 0, 3453230.823499599 4109586.977452887 0, 3449932.760790034 4759479.258695772 0, 3446616.958516677 5409380.733360291 0, 3443319.812677186 6059275.473638145 0, 3439984.16 6709201.92 0)",
  "operator": 123,
  "surveyFile": 123,
  "updatedBy": "test.user",
  "updatedTs": "2024-05-13T12:05:10Z",
  "zCoord": "123.456"
}
object

Survey Line String

code
string

Code

convertCode
integer

Convert code id

id
integer

Unique identifier of survey line string

length
number (float)

Length of the survey line string

location
string (ewkt)

Geographical location

operator
integer

Operator id

surveyFile
integer

Survey file id

updatedBy
string

User who last updated the survey line string

updatedTs
string (date-time)

Last updated timestamp

zCoord
string

Z-coordinate

400

There was an error in request. Usually field validation failed.

{
  "surveyFile": [
    "This field is required."
  ]
}
object

Fields which failed validation

property*
Array of string additionalProperties

List of validation errors for this field name

string

Validation error

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error


Was this article helpful?