Create new Water Pumping Station

Prev Next
Post
/water-pumping-station/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Water Pumping Station to be created

object
name
string

Water Pumping Station name

node
integer Required

Water Node Id

pressure_increase
string

Water Pumping Station pressure increase

productivity
string

Water Pumping Station productivity

role_id
integer Required

SnConstant with group name PUMP_STATION_ROLE

type_id
integer Required

SnConstant with group name PUMPSTATION_TYPE

Responses
201

A created Water Pumping Station

{
  "id": [
    "123"
  ],
  "name": [
    "test_name"
  ],
  "pressure_increase": [
    "123"
  ],
  "productivity": [
    "productivity"
  ]
}
object
id
integer

Primary key

name
string

Water Pumping Station name

node
integer

Water Node Id

pressure_increase
string

Water Pumping Station pressure increase

productivity
string

Water Pumping Station productivity

role_id
integer

SnConstant with group name PUMP_STATION_ROLE

type_id
integer

SnConstant with group name PUMPSTATION_TYPE

400

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

Fields which failed validation

401

Authentication credentials are missing or invalid

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

Detailed description of error