Create new Control Table entry

Prev Next
Post
/sn_control/

Operation is used to create a new SnControl entry.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Control Table entry to be created

object

SnControl object. Represents KeyAQUA control table. Flat version for patch and post methods

ClassId
integer

Reference to SnConstant with related_name='class_set'

def_1
string

Definition 1

Max length30
def_2
string

Definition 2

Max length30
def_3
string

Definition 3

Max length30
feature
string Required

Feature identifier

Max length20
net_type
string

Network type

Max length20
sortby
integer

Sort order value

type
string

Type value (stored as 'class' in database)

Max length20
Responses
201

A newly created Control Table entry

object

SnControl object. Represents KeyAQUA control table. Flat version for patch and post methods

ClassId
integer

Reference to SnConstant with related_name='class_set'

def_1
string

Definition 1

Max length30
def_2
string

Definition 2

Max length30
def_3
string

Definition 3

Max length30
feature
string

Feature identifier

Max length20
id
integer

Primary key

net_type
string

Network type

Max length20
sortby
integer

Sort order value

type
string

Type value (stored as 'class' in database)

Max length20
400

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

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