Create new text constant.
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new text constant.

  • Dark
    Light
  • PDF

Article summary

Post
/txt-constants/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Text Constant data to be saved.

object

Text constant object. Flat version for patch and post methods

abbreviation
string

Abbreviation

additional_data
string

Additional details

availability_end_ts
string (date-time)

Ending date time for availability

availability_start_ts
string (date-time)

Beginning date time for availability

category
integer

Category of the constant

description
string

Description of the constant

groupname
string Required

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

id
integer Required

Unique id of constant

logical_abbreviation
string

Logical abbreviation

logical_txt
string

Logical textual value

num_value
number (float)

Numerical value of the constant

num_value2
number (float)

Second numerical value of the constant

num_value3
number (float)

Third numerical value of the constant

num_value4
number (float)

Fourth numerical value of the constant

orderno
integer

Order number

txt
string Required

Human readable textual representation (translated)

txt_value
string

Text value

value
string

Value

value2
string

Second value

value3
string

Third value

value4
string

Fourth value

Responses
201

Text Constant created successfully.

object

Text constant object. Flat version for patch and post methods

abbreviation
string

Abbreviation

additional_data
string

Additional details

availability_end_ts
string (date-time)

Ending date time for availability

availability_start_ts
string (date-time)

Beginning date time for availability

category
integer

Category of the constant

description
string

Description of the constant

groupname
string

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

id
integer

Unique id of constant

logical_abbreviation
string

Logical abbreviation

logical_txt
string

Logical textual value

num_value
number (float)

Numerical value of the constant

num_value2
number (float)

Second numerical value of the constant

num_value3
number (float)

Third numerical value of the constant

num_value4
number (float)

Fourth numerical value of the constant

orderno
integer

Order number

txt
string

Human readable textual representation (translated)

txt_value
string

Text value

value
string

Value

value2
string

Second value

value3
string

Third value

value4
string

Fourth value

400

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

{
  "groupname": [
    "This field is required."
  ],
  "txt": [
    "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?