Create new Survey Point
  • 28 Aug 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Survey Point

  • Dark
    Light
  • PDF

Article summary

Post
/survey-points/

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

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Survey Point to be created

object

Survey Point

angle
number (float)

Angle

antennaHeight
number (float)

Antenna height

code
string

Code

convertCode
integer

Convert code id

lineNumber
integer

Line number

location
string (ewkt)

Geographical location

operator
integer

Operator id

pointNumber
integer

Point number

pointType
number (float)

Point type

surfaceCode
integer

Surface code

surveyFile
integer Required

Survey file id

zCoordinate
number (float)

Z-coordinate

Responses
201

A newly created Survey Point

{
  "angle": 45.0,
  "antennaHeight": "9.99",
  "code": "1",
  "convertCode": 123,
  "id": 12345,
  "lineNumber": 1,
  "location": "SRID=3067;POINT Z (536794.0205 7124470.9884 0)",
  "operator": 123,
  "pointNumber": 1,
  "pointType": null,
  "surfaceCode": "1",
  "surveyFile": 123,
  "updatedBy": "test.user",
  "updatedTs": "2024-05-13T05:19:18Z",
  "zCoordinate": 158.787
}
object

Survey Point

angle
number (float)

Angle

antennaHeight
number (float)

Antenna height

code
string

Code

convertCode
integer

Convert code id

id
integer

Unique id of survey point

lineNumber
integer

Line number

location
string (ewkt)

Geographical location

operator
integer

Operator id

pointNumber
integer

Point number

pointType
number (float)

Point type

surfaceCode
integer

Surface code

surveyFile
integer

Survey file id

updatedBy
string

User who updated the survey point.

updatedTs
string (date-time)

Last updated date and time

zCoordinate
number (float)

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 fieldname

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?