Skip to main content
JSON Manual Created Edited

DESIGN/RC/AASHTO-LRFD24/OPE_MEMB : Auto Member Assignment

Input URI

{base url} + DESIGN/RC/AASHTO-LRFD24/OPE_MEMB



Active Methods

POST



JSON Schema

Details

{
  "type": "object",
  "description": "Member Assignment (Add/Replace) request schema (POST /DESIGN/RC/AASHTO-LRFD24/OPE_MEMB)",
  "required": [
    "Argument"
  ],
  "additionalProperties": false,
  "properties": {
    "Argument": {
      "type": "object",
      "required": [
        "ASSIGN_TYPE",
        "ALLOW_SINGLE"
      ],
      "additionalProperties": false,
      "properties": {
        "ASSIGN_TYPE": {
          "type": "string",
          "description": "Assign type",
          "enum": [
            "MANUAL",
            "AUTO"
          ]
        },
        "SELECTION_TYPE": {
          "type": "string",
          "description": "Selection type. ALL is available only with ASSIGN_TYPE AUTO.",
          "default": "SELECTION",
          "enum": [
            "ALL",
            "SELECTION"
          ]
        },
        "ELEM_LIST": {
          "type": "array",
          "description": "Element list. Required unless ASSIGN_TYPE is AUTO and SELECTION_TYPE is ALL (then all elements are used and this list is ignored). Non-frame elements are skipped.",
          "items": {
            "type": "integer"
          },
          "minItems": 1
        },
        "ALLOW_SINGLE": {
          "type": "boolean",
          "description": "Allow single element member"
        }
      }
    }
  }
}


Request Examples

Automatic, selected elements

{
  "Argument": {
    "ASSIGN_TYPE": "AUTO",
    "SELECTION_TYPE": "SELECTION",
    "ELEM_LIST": [
      1,
      2,
      3
    ],
    "ALLOW_SINGLE": false
  }
}

Automatic, all elements

{
  "Argument": {
    "ASSIGN_TYPE": "AUTO",
    "SELECTION_TYPE": "ALL",
    "ALLOW_SINGLE": true
  }
}

Manual, selected elements

{
  "Argument": {
    "ASSIGN_TYPE": "MANUAL",
    "ELEM_LIST": [
      1,
      2,
      3
    ],
    "ALLOW_SINGLE": false
  }
}


Response Examples

Automatic, selected elements

{
  "MEMB": {
    "1": {
      "AELEM": [
        1,
        2,
        3
      ],
      "bREVERSE": false
    }
  }
}

Automatic, all elements

{
  "MEMB": {
    "1": {
      "AELEM": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        21
      ],
      "bREVERSE": true
    }
  }
}

Manual, selected elements

{
  "MEMB": {
    "1": {
      "AELEM": [
        1,
        2,
        3
      ],
      "bREVERSE": true
    }
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

Argument object

"Argument"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Assign Type

• Manual: "MANUAL"

• Automatic: "AUTO"

"ASSIGN_TYPE"

string

-

Required

2

Selection Type

• All: "ALL"

• By Selection: "SELECTION"

"SELECTION_TYPE"

string

SELECTION

Optional

3

Element List

"ELEM_LIST"

array

-

Optional

4

Allow Single Element Member

"ALLOW_SINGLE"

boolean

-

Required


0
Was this article helpful?