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

Create new Dh Division

  • Dark
    Light
  • PDF

Article summary

Post
/dh-division/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Dh Division to be created

object
area_id
integer Required

Area id

created_by
string

Creator

created_ts
string (date-time)

Date created

location
string (ewkt)

Geographical location

mslink
integer

Primary key

name
string

Name

remarks
string

Remarks

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

Responses
201

A newly created Dh Division

{
  "area_id": [
    "10"
  ],
  "mslink": [
    "123456"
  ],
  "name": [
    "test"
  ],
  "remarks": [
    "this is a test"
  ]
}
object
area_id
integer

Area id

created_by
string

Creator

created_ts
string (date-time)

Date created

location
string (ewkt)

Geographical location

mslink
integer

Primary key

name
string

Name

remarks
string

Remarks

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

400

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

{
  "area_id": [
    "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?