Create new extra attribute
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new extra attribute

  • Dark
    Light
  • PDF

Article summary

Post
/extra-attributes/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Extra Attribute to be created

object
created
string (date-time)

Creation date and time

dataType
string Required

type of data supported by Extra Attribute. Available types are Text (enum text), Multiple line Text (enum multex), Float (enum float), Integer (enum int), Link (enum link).

Valid values[ "text", "float", "int", "link", "multex" ]
description
string

description of Extra Attribute

id
integer

Unique id of Extra Attribute

identifier
string

Unique identifier of Extra Attribute

modified
string (date-time)

Creation date and time

name
string Required

Name of Extra Attribute

order
integer

Extra Attribute order in the list of attributes output in UI.

relatedInstanceType
integer Required

Object type id the attribute is bound to.

Responses
201

A created Extra Attribute

object
created
string (date-time)

Creation date and time

dataType
string

type of data supported by Extra Attribute. Available types are Text (enum text), Multiple line Text (enum multex), Float (enum float), Integer (enum int), Link (enum link).

Valid values[ "text", "float", "int", "link", "multex" ]
description
string

description of Extra Attribute

id
integer

Unique id of Extra Attribute

identifier
string

Unique identifier of Extra Attribute

modified
string (date-time)

Creation date and time

name
string

Name of Extra Attribute

order
integer

Extra Attribute order in the list of attributes output in UI.

relatedInstanceType
integer

Object type id the attribute is bound to.

400

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

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