Skip to main content
JSON Manual Created Edited

Weight Irregularity Check - Story Result Table

Input URI

{base url} + post/TABLE



Active Methods

POST



JSON Schema

Details

{
  "type""object",
  "required": [
    "Argument"
  ],
  "additionalProperties"false,
  "properties": {
    "Argument": {
      "type""object",
      "required": [
        "TABLE_TYPE"
      ],
      "additionalProperties"false,
      "properties": {
        "EXPORT_PATH": {
          "type""string",
          "description""Result Table Save Path"
        },
        "TABLE_NAME": {
          "type""string",
          "description""Response Table Title",
          "default"""
        },
        "TABLE_TYPE": {
          "type""string",
          "description""Weight Irregularity Check Result Table Type",
          "enum": [
            "WEIGHT_IRREGULARITY_X",
            "WEIGHT_IRREGULARITY_Y"
          ]
        },
        "UNIT": {
          "type""object",
          "description""Response Unit Setting",
          "additionalProperties"false,
          "properties": {
            "FORCE": {
              "type""string",
              "description""Force unit",
              "default""KGF"
            },
            "DIST": {
              "type""string",
              "description""Length/Distance unit",
              "default""MM"
            },
            "HEAT": {
              "type""string",
              "description""Heat unit",
              "default""CAL"
            },
            "TEMP": {
              "type""string",
              "description""Temperature unit",
              "default""C"
            }
          }
        },
        "STYLES": {
          "type""object",
          "description""Response Number Format",
          "additionalProperties"false,
          "properties": {
            "FORMAT": {
              "type""string",
              "description""Number format",
              "enum": [
                "DEFAULT",
                "Default",
                "Fixed",
                "Scientific",
                "General"
              ],
              "default""DEFAULT"
            },
            "PLACE": {
              "type""integer",
              "description""Digit place",
              "minimum"0,
              "maximum"15,
              "default"0
            }
          }
        },
        "LOAD_CASE_NAMES": {
          "type""array",
          "description""StaticLoad/LoadCombinationName&Type",
          "items": {
            "type""string"
          }
        },
        "SET_CALCULATION_METHOD": {
          "type""object",
          "description""Weight irregularity calculation method options",
          "additionalProperties"false,
          "properties": {
            "STORY_DRIFT_METHOD": {
              "type""string",
              "description""Story drift calculation method",
              "enum": [
                "Drift at the Center of Mass",
                "Max. Drift of Outer Extreme Points",
                "Max. Drift of All Vertical Elements"
              ],
              "default"""
            }
          }
        },
        "COMPONENTS": {
          "type""array",
          "description""Components of Result Table",
          "items": {
            "type""string",
            "default"""
          }
        }
      }
    }
  }
}


Request Examples

Example

{
  "Argument": {
    "TABLE_TYPE": "WEIGHT_IRREGULARITY_X",
    "EXPORT_PATH": "C:\\MIDAS\\Result\\test.json",
    "TABLE_NAME": "result_table",
    "LOAD_CASE_NAMES": [
      "DL(ST)"
    ],
    "UNIT": {
      "FORCE": "KGF",
      "DIST": "MM",
      "HEAT": "CAL",
      "TEMP": "C"
    },
    "STYLES": {
      "FORMAT": "DEFAULT",
      "PLACE": 0
    },
    "SET_CALCULATION_METHOD": {
      "STORY_DRIFT_METHOD": "Drift at the Center of Mass"
    }
  }
}


Response Examples

Example

{
  "result_table": {
    "FORCE": "KGF",
    "DIST": "MM",
    "HEAD": [
      "Index",
      "Load Case",
      "Story",
      "Level",
      "Story Height",
      "Story Weight",
      "Adjacent Story Weight/1.25M(Lower)",
      "Adjacent Story Weight/0.75M(Lower)",
      "Story Weight Ratio",
      "Story Drift Angle Ratio",
      "Remark"
    ],
    "DATA": [
      [
        "1",
        "DL",
        "Roof",
        "57700",
        "0",
        "750967.810373254",
        "800925.897425977",
        "480555.538455586",
        "0.172030728414953",
        "0",
        "Regular"
      ],
      [
        "2",
        "DL",
        "15F",
        "54000",
        "3700",
        "640740.717940781",
        "790037.922425977",
        "474022.753455586",
        "0.0137815852770282",
        "0",
        "Regular"
      ],
      [
        "3",
        "DL",
        "14F",
        "50600",
        "3400",
        "632030.337940781",
        "790037.922425977",
        "474022.753455586",
        "4.40965039087499e-16",
        "0.889155828953759",
        "Regular"
      ],
      [
        "4",
        "DL",
        "13F",
        "47200",
        "3400",
        "632030.337940781",
        "795375.015336516",
        "477225.00920191",
        "-0.00671015911693144",
        "0.933783519202807",
        "Regular"
      ],
      [
        "5",
        "DL",
        "test",
        "43800",
        "3400.00000000001",
        "636300.012269213",
        "677453.673666279",
        "406472.204199767",
        "0.174065543156722",
        "0.862958410262367",
        "Regular"
      ],
      [
        "6",
        "DL",
        "11F",
        "40400",
        "3399.99999999999",
        "541962.938933023",
        "677453.673666279",
        "406472.204199767",
        "5.14247862083028e-16",
        "0.690871693607081",
        "Regular"
      ],
      [
        "7",
        "DL",
        "10F",
        "37000",
        "3400",
        "541962.938933023",
        "677453.673666279",
        "406472.204199767",
        "-5.14247862083028e-16",
        "0.876163173205567",
        "Regular"
      ],
      [
        "8",
        "DL",
        "9F",
        "33600",
        "3400",
        "541962.938933023",
        "677453.673666279",
        "406472.204199768",
        "-5.14247862083027e-16",
        "0.780957008766697",
        "Regular"
      ],
      [
        "9",
        "DL",
        "8F",
        "30200",
        "3400",
        "541962.938933024",
        "677453.673666279",
        "406472.204199767",
        "1.02849572416606e-15",
        "0.701949617044885",
        "Regular"
      ],
      [
        "10",
        "DL",
        "7F",
        "26800",
        "3400",
        "541962.938933023",
        "677453.673666279",
        "406472.204199767",
        "-2.57123931041514e-16",
        "0.451023939697087",
        "Regular"
      ],
      [
        "11",
        "DL",
        "6F",
        "23400",
        "3400",
        "541962.938933023",
        "677453.673666279",
        "406472.204199768",
        "-3.85685896562271e-16",
        "0.573453114812647",
        "Regular"
      ],
      [
        "12",
        "DL",
        "5F",
        "20000",
        "3400",
        "541962.938933023",
        "2210762.9029936",
        "1326457.74179616",
        "-0.693565658828029",
        "4.44220546084409",
        "Irregular"
      ],
      [
        "13",
        "DL",
        "4F",
        "16600",
        "3400",
        "1768610.32239488",
        "1384641.64249527",
        "830784.985497162",
        "0.596631818041797",
        "1.78347596394523",
        "Irregular"
      ],
      [
        "14",
        "DL",
        "3F",
        "11000",
        "5600",
        "1107713.31399622",
        "1408424.64955531",
        "845054.789733186",
        "-0.0168862473882069",
        "0.0297287780296089",
        "Regular"
      ],
      [
        "15",
        "DL",
        "2F",
        "6000",
        "5000",
        "1126739.71964425",
        "0",
        "0",
        "0",
        "20.0841073913496",
        "Regular"
      ],
      [
        "16",
        "DL",
        "1F",
        "0",
        "6000",
        "0",
        "0",
        "0",
        "0",
        "0.685510782418758",
        "Regular"
      ],
      [
        "17",
        "DL",
        "B1",
        "-3900",
        "3900",
        "0",
        "0",
        "0",
        "0",
        "0.488297293897912",
        "Regular"
      ],
      [
        "18",
        "DL",
        "B2",
        "-8500",
        "4600",
        "0",
        "0",
        "0",
        "0",
        "0.395497115193391",
        "Regular"
      ]
    ]
  }
}


Specifications

Keyed Object Entry

No. Description Key Value Type Default Required

Root Object

1

Map of keyed objects where each key is a string identifier.

"Argument"

object

-

Required


Item (Value Object Schema)

No. Description Key Value Type Default Required

General

1

Export Path

Optional: save results to a file path.

"EXPORT_PATH"

string

-

Optional

2

Table Name

"TABLE_NAME"

string

""

Optional

3

Table Type

• Weight Irregularity(X): "WEIGHT_IRREGULARITY_X"

• Weight Irregularity(Y): "WEIGHT_IRREGULARITY_Y"

"TABLE_TYPE"

string

-

Required

4

Unit Settings

"UNIT"

object

System

Optional

4.1

Force unit

"FORCE"

string

"KGF"

Optional

4.2

Length/Distance unit

"DIST"

string

"MM"

Optional

4.3

Heat unit

"HEAT"

string

"CAL"

Optional

4.4

Temperature unit

"TEMP"

string

"C"

Optional

5

Number Format

"STYLES"

object

System

Optional

5.1

Number format

• DEFAULT: "DEFAULT"

• Default: "Default"

• Fixed: "Fixed"

• Scientific: "Scientific"

• General: "General"

"FORMAT"

string

"DEFAULT"

Optional

5.2

Digit place

Constraints:

• Value Range: >= 0, <= 15

"PLACE"

integer

0

Optional

6

Load Case Names

"LOAD_CASE_NAMES"

Array [string]

-

Optional

7

Calculation Method

"SET_CALCULATION_METHOD"

object

-

Optional

7.1

Story drift calculation method

• Drift at the Center of Mass: "Drift at the Center of Mass"

• Max. Drift of Outer Extreme Points: "Max. Drift of Outer Extreme Points"

• Max. Drift of All Vertical Elements: "Max. Drift of All Vertical Elements"

"STORY_DRIFT_METHOD"

string

""

Optional

8

Components

"COMPONENTS"

Array [string]

-

Optional



0
Was this article helpful?