Create new Sn Modeling.
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Sn Modeling.

  • Dark
    Light
  • PDF

Article summary

Post
/modeling/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Sn Modeling data to be saved.

object

Sn Modeling object. Flat version for patch and post methods

created_by
string

Created by

created_ts
string (date)

Date created

description
string

Description

id
integer

Primary key

identification
string Required

Identification

parent
integer

SnModeling object that has SnConstant type value of CONSTRUCTED

status
integer

SnConstant with group name MODELING_STATUS

type
integer

SnConstant with group name MODELING_TYPE

Responses
201

Sn Modeling created successfully.

{
  "created_by": [
    "samplemail@email.fi"
  ],
  "description": [
    "sample description"
  ],
  "id": [
    "145113"
  ],
  "identification": [
    "sample identification"
  ]
}
Expand All
object
created_by
string

Created by

created_ts
string (date)

Date created

description
string

Description

id
integer

Primary key

identification
string

Identification

parent
object (SnModeling)
created_by
string

Created by

created_ts
string (date)

Date created

description
string

Description

id
integer

Primary key

identification
string

Identification

parent
object (SnModeling) Recursive
status
object (SnConstants)
groupname
string

Group name of constant. Group name must contain only uppercase letters separated by underscores.

id
integer

Primary key

num_value
integer

Numerical value of the constant

orderno
integer

Order number

txt
string

Human readable textual representation

txt_2
string

Human readable textual representation

value
string

Logical textual value

type
object (SnConstants)
groupname
string

Group name of constant. Group name must contain only uppercase letters separated by underscores.

id
integer

Primary key

num_value
integer

Numerical value of the constant

orderno
integer

Order number

txt
string

Human readable textual representation

txt_2
string

Human readable textual representation

value
string

Logical textual value

status
object (SnConstants)
groupname
string

Group name of constant. Group name must contain only uppercase letters separated by underscores.

id
integer

Primary key

num_value
integer

Numerical value of the constant

orderno
integer

Order number

txt
string

Human readable textual representation

txt_2
string

Human readable textual representation

value
string

Logical textual value

type
object (SnConstants)
groupname
string

Group name of constant. Group name must contain only uppercase letters separated by underscores.

id
integer

Primary key

num_value
integer

Numerical value of the constant

orderno
integer

Order number

txt
string

Human readable textual representation

txt_2
string

Human readable textual representation

value
string

Logical textual value

400

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

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