POST
/
v1
/
examples
curl --location --request POST 'https://api.stateset.com/v1/examples' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "em_1NXWPnCo6bFb1KQto6C8OWvE",
    "example_name": "Example Name",
    "example_type": "string"
}'
{
  "attribute_name": "<string>",
  "attribute_type": "<string>",
  "description": "<string>",
  "ticket_id": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Body

example_name
string

The name of the example to be created.

example_type
string

The type of the example (e.g., string, number, boolean).

description
string

A brief description of the example.

ticket_id
string

This is the ticket_id of the example.

created_at
string

This is the created_at of the example.

updated_at
string

This is the updated_at of the example.

Response

attribute_name
string

The name of the created example.

attribute_type
string

The type of the created example.

description
string

A brief description of the created example.

ticket_id
string

This is the ticket_id of the example.

created_at
string

This is the created_at of the example.

updated_at
string

This is the updated_at of the example.

curl --location --request POST 'https://api.stateset.com/v1/examples' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "em_1NXWPnCo6bFb1KQto6C8OWvE",
    "example_name": "Example Name",
    "example_type": "string"
}'