Skip to main content
JSON Manual Created Edited

Section Manager - Stress Points

Input URI

{base url} + db/STRPSSM



Active Methods

POST, GET, PUT, DELETE



JSON Schema

Details

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": [
    "Assign"
  ],
  "additionalProperties": false,
  "properties": {
    "Assign": {
      "type": "object",
      "description": "Object keyed by DB item ID. Each value is a STRPSSM item object.",
      "minProperties": 1,
      "additionalProperties": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "properties": {
          "OPT_SAME_J": {
            "description": "Same Additional Stress Points Data at i and j-end",
            "type": "boolean",
            "default": true
          },
          "POINT_SIZE_1": {
            "description": "Number of Stress Point for I",
            "type": "integer"
          },
          "POINT_SIZE_2": {
            "description": "Number of Stress Point for J",
            "type": "integer"
          },
          "POINT1": {
            "description": "Stress Point Coordinates for I • Insert the data as an object",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Y": {
                  "description": "Point Y",
                  "type": "number"
                },
                "Z": {
                  "description": "Point Z",
                  "type": "number"
                }
              },
              "required": [
                "Y",
                "Z"
              ],
              "additionalProperties": false
            }
          },
          "POINT2": {
            "description": "Stress Point Coordinates for J • Insert the data as an object",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Y": {
                  "description": "Point Y",
                  "type": "number"
                },
                "Z": {
                  "description": "Point Z",
                  "type": "number"
                }
              },
              "required": [
                "Y",
                "Z"
              ],
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false,
        "required": [
          "POINT_SIZE_1",
          "POINT_SIZE_2",
          "POINT1",
          "POINT2"
        ]
      }
    }
  }
}


Request Examples

Stress Points

{
  "Assign": {
    "9003": {
      "OPT_SAME_J": false,
      "POINT_SIZE_1": 2,
      "POINT_SIZE_2": 2,
      "POINT1": [
        {
          "Y": 0.00583,
          "Z": 0.00476
        },
        {
          "Y": -0.00506,
          "Z": 0.00097
        }
      ],
      "POINT2": [
        {
          "Y": 0.007067356048348719,
          "Z": 0.005572125828318985
        },
        {
          "Y": -0.0059233102292634635,
          "Z": 0.0011354962297204655
        }
      ]
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

Object keyed by DB item ID. Each value is a STRPSSM item object.

"Assign"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Same Additional Stress Points Data at i and j-end

When true, POINT1 is also applied to the j-end and POINT2 is ignored. If omitted on PUT, the stored value is kept.

"OPT_SAME_J"

boolean

true

Optional

2

Number of Stress Point for I

Stored as the number of items in POINT1; a different value is ignored.

"POINT_SIZE_1"

integer

-

Required

3

Number of Stress Point for J

Stored as the number of items in POINT2; a different value is ignored.

"POINT_SIZE_2"

integer

-

Required

4

Stress Point Coordinates for I • Insert the data as an object

"POINT1"

Array [object]

-

Required

4.1

Point Y

"Y"

number

-

Required

4.2

Point Z

"Z"

number

-

Required

5

Stress Point Coordinates for J • Insert the data as an object

Used only when OPT_SAME_J is false.

"POINT2"

Array [object]

-

Required

5.1

Point Y

"Y"

number

-

Required

5.2

Point Z

"Z"

number

-

Required



0
Was this article helpful?