Create new Point
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Point

  • Dark
    Light
  • PDF

Article summary

Post
/keycore-point/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Point to be created

object
Plan
integer

Plan id

angle
number (float)

Angle

created_by
string

Created by

created_ts
string (date)

Creation date

description
string

Description

distance
number (float)

Distance

haccuracy
integer

TxtConstant with group name H_ACCURACY

history_date
string (date)

History date

id
integer

Primary key

identification
string

Identification

length
number (float)

Length

location
string (ewkt)

Location

location_accuracy
integer

TxtConstant with group name LOCATION_ACCURACY

mapper
string

Mapper

mapping_method
integer

TxtConstant with group name MAPPING_METHOD

scale
number (float)

Scale

state
integer

TxtConstant with group name POINT_STATE

survey_amount
integer

Survey amount

type
integer Required

Point type id

updated_by
string

Updated by

updated_ts
string (date)

Update date

Responses
201

A newly created Point

{
  "description": [
    "sample description"
  ],
  "id": [
    "123456"
  ],
  "identification": [
    "sample identification"
  ],
  "type": [
    "123"
  ]
}
object
Plan
integer

Plan id

angle
number (float)

Angle

created_by
string

Created by

created_ts
string (date)

Creation date

description
string

Description

distance
number (float)

Distance

haccuracy
integer

TxtConstant with group name H_ACCURACY

history_date
string (date)

History date

id
integer

Primary key

identification
string

Identification

length
number (float)

Length

location
string (ewkt)

Location

location_accuracy
integer

TxtConstant with group name LOCATION_ACCURACY

mapper
string

Mapper

mapping_method
integer

TxtConstant with group name MAPPING_METHOD

scale
number (float)

Scale

state
integer

TxtConstant with group name POINT_STATE

survey_amount
integer

Survey amount

type
integer

Point type id

updated_by
string

Updated by

updated_ts
string (date)

Update date

400

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

{
  "type": [
    "This field is required."
  ]
}

Fields which failed validation

401

Authentication credentials are missing or invalid

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

Detailed description of error


Was this article helpful?

What's Next