Input URI
|
{base url} + DESIGN/PSC/KDS-24-14-21-2021/DRESULT |
|---|
Active Methods
|
POST |
|---|
JSON Schema
Details
"type": "object",
"required": [
"Argument"
],
"additionalProperties": false,
"properties": {
"Argument": {
"type": "object",
"additionalProperties": false,
"properties": {
"EXPORT_PATH": {
"type": "string",
"description": "Image file save path and file name"
},
"URL_NAME": {
"type": "string",
"description": "Temporary image name (base64 return)"
},
"FIGURE_NAME": {
"type": "string",
"description": "Smart report image name"
},
"WIDTH": {
"type": "integer",
"description": "Image width in pixels",
"minimum": 1
},
"HEIGHT": {
"type": "integer",
"description": "Image height in pixels",
"minimum": 1
},
"STAGE_NAME": {
"type": "string",
"description": "Construction stage name"
},
"SET_MODE": {
"type": "string",
"description": "Set mode option",
"enum": [
"PRE",
"POST"
]
},
"SET_HIDDEN": {
"type": "boolean",
"description": "Hidden option",
"default": false
},
"ACTIVE": {
"type": "object",
"description": "View/Active settings"
},
"ANGLE": {
"type": "object",
"description": "View/Angle settings"
},
"DISPLAY": {
"type": "object",
"description": "View/Display settings"
},
"PERSPECTIVE": {
"type": "boolean",
"description": "Enable perspective view",
"default": false
},
"ZOOM_LEVEL": {
"type": "number",
"description": "Zoom level",
"default": 100
},
"BGCOLOR_TOP": {
"type": "object",
"description": "Background color top",
"additionalProperties": false,
"required": [
"R",
"G",
"B"
],
"properties": {
"R": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"G": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"B": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
}
},
"BGCOLOR_BOTTOM": {
"type": "object",
"description": "Background color bottom",
"additionalProperties": false,
"required": [
"R",
"G",
"B"
],
"properties": {
"R": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"G": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"B": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
}
},
"RESULT_GRAPHIC": {
"type": "object",
"description": "PSC Result Diagram settings",
"required": [
"CURRENT_MODE"
],
"additionalProperties": false,
"properties": {
"CURRENT_MODE": {
"type": "string",
"description": "Current result mode",
"default": "PSC_DESIGN_DIAGRAM",
"enum": [
"PSC_DESIGN_DIAGRAM"
]
},
"COMPONENTS": {
"type": "object",
"description": "Components of the PSC design diagram (flat: COMP, CRITERIA ... directly under COMPONENTS)",
"additionalProperties": false,
"properties": {
"COMP": {
"type": "string",
"default": "FLEXURE_Y",
"enum": [
"FLEXURE_Y",
"SHEAR",
"TORSION_VMAX",
"TORSION_TMAX"
]
},
"CRITERIA": {
"type": "string",
"default": "FORCE",
"enum": [
"FORCE",
"SAFETY_FACTOR"
]
},
"CRITERIA_LINE": {
"type": "number",
"exclusiveMinimum": 0,
"default": 1
},
"SIGN": {
"type": "object",
"additionalProperties": false,
"properties": {
"MAX": {
"type": "boolean",
"default": true
},
"MIN": {
"type": "boolean",
"default": true
}
}
},
"RESISTANCE_LINE": {
"type": "object",
"additionalProperties": false,
"properties": {
"COLOR": {
"type": "object",
"description": "Ultimate force / criteria line color",
"additionalProperties": false,
"required": [
"R",
"G",
"B"
],
"properties": {
"R": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"G": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"B": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
}
},
"THICKNESS": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"default": 1
}
}
},
"DIAGRAM": {
"type": "object",
"additionalProperties": false,
"properties": {
"SCALE_FACTOR": {
"type": "number",
"exclusiveMinimum": 0,
"default": 1
},
"FILL": {
"type": "string",
"default": "LINE",
"enum": [
"NONE",
"LINE",
"SOLID"
]
},
"DIRECTION": {
"type": "object",
"additionalProperties": false,
"properties": {
"TYPE": {
"type": "string",
"default": "LOCAL",
"enum": [
"GLOBAL",
"LOCAL"
]
},
"AXIS": {
"type": "string",
"default": "MAJOR",
"enum": [
"X",
"Y",
"Z",
"MAJOR",
"MINOR"
]
}
}
}
}
}
}
},
"TYPE_OF_DISPLAY": {
"type": "object",
"description": "Type of display",
"additionalProperties": false,
"properties": {
"CONTOUR": {
"type": "object",
"additionalProperties": false,
"properties": {
"OPT_CHECK": {
"type": "boolean",
"default": true
}
}
},
"LEGEND": {
"type": "object",
"additionalProperties": false,
"properties": {
"OPT_CHECK": {
"type": "boolean",
"default": true
}
}
},
"VALUES": {
"type": "object",
"additionalProperties": false,
"properties": {
"OPT_CHECK": {
"type": "boolean",
"default": false
},
"DECIMAL_PT": {
"type": "integer",
"minimum": 0,
"default": 0
},
"VALUE_EXP": {
"type": "boolean",
"default": false
}
}
}
}
},
"OUTPUT_SECT_LOCATION": {
"type": "object",
"description": "Value output location",
"additionalProperties": false,
"properties": {
"OPT_I": {
"type": "boolean",
"default": false
},
"OPT_CENTER_MID": {
"type": "boolean",
"default": false
},
"OPT_J": {
"type": "boolean",
"default": false
},
"OPT_MAX_MINMAX_ALL": {
"type": "string",
"enum": [
"Abs Max",
"Min/Max",
"All"
]
}
}
}
}
}
}
}
}
}
Request Examples
Example
"Argument": {}
}
Response Examples
Example
"base64String": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/...(JPEG, base64)"
}
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 |
Image File Save Path & File Name |
"EXPORT_PATH" |
string |
- |
Optional |
|||
|
2 |
Url Name |
"URL_NAME" |
string |
- |
Optional |
|||
|
3 |
Smart Report Image Name |
"FIGURE_NAME" |
string |
- |
Optional |
|||
|
4 |
Image Width's Pixel Size • Minimum: 1 |
"WIDTH" |
integer |
- |
Optional |
|||
|
5 |
Image Height's Pixel Size • Minimum: 1 |
"HEIGHT" |
integer |
- |
Optional |
|||
|
6 |
Construction Stage Name |
"STAGE_NAME" |
string |
- |
Optional |
|||
|
7 |
Set Mode • Pre: "PRE" • Post: "POST" |
"SET_MODE" |
string |
- |
Optional |
|||
|
8 |
Hidden Option |
"SET_HIDDEN" |
boolean |
false |
Optional |
|||
|
9 |
Active |
"ACTIVE" |
object |
- |
Optional |
|||
|
10 |
Angle |
"ANGLE" |
object |
- |
Optional |
|||
|
11 |
Display Settings |
"DISPLAY" |
object |
- |
Optional |
|||
|
12 |
Perspective |
"PERSPECTIVE" |
boolean |
false |
Optional |
|||
|
13 |
Zoom Level |
"ZOOM_LEVEL" |
number |
100 |
Optional |
|||
|
14 |
Background Color Top |
"BGCOLOR_TOP" |
object |
- |
Optional |
|||
|
14.1 |
Red • Range: 0~255 |
"R" |
integer |
- |
Required |
|||
|
14.2 |
Green • Range: 0~255 |
"G" |
integer |
- |
Required |
|||
|
14.3 |
Blue • Range: 0~255 |
"B" |
integer |
- |
Required |
|||
|
15 |
Background Color Bottom |
"BGCOLOR_BOTTOM" |
object |
- |
Optional |
|||
|
15.1 |
Red • Range: 0~255 |
"R" |
integer |
- |
Required |
|||
|
15.2 |
Green • Range: 0~255 |
"G" |
integer |
- |
Required |
|||
|
15.3 |
Blue • Range: 0~255 |
"B" |
integer |
- |
Required |
|||
|
16 |
Result Graphic |
"RESULT_GRAPHIC" ¹⁾ |
object |
- |
Optional |
|||
Result Graphic ¹⁾
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
1 |
Current Mode • PSC Result Diagram: "PSC_DESIGN_DIAGRAM" |
"CURRENT_MODE" |
string |
PSC_DESIGN_DIAGRAM |
Required |
|||
|
2 |
Components |
"COMPONENTS" |
object |
- |
Optional |
|||
|
2.1 |
Components • Flexure-y: "FLEXURE_Y" • Shear: "SHEAR" • Torsion (Vmx): "TORSION_VMAX" • Torsion (Tmx): "TORSION_TMAX" |
"COMP" |
string |
FLEXURE_Y |
Optional |
|||
|
2.2 |
Option • Force: "FORCE" • Safety Factor: "SAFETY_FACTOR" |
"CRITERIA" |
string |
FORCE |
Optional |
|||
|
2.3 |
Criteria Line • Minimum: 0 |
"CRITERIA_LINE" |
number |
1 |
Optional |
|||
|
2.4 |
Positive/Negative |
"SIGN" |
object |
- |
Optional |
|||
|
2.4.1 |
Positive |
"MAX" |
boolean |
true |
Optional |
|||
|
2.4.2 |
Negative |
"MIN" |
boolean |
true |
Optional |
|||
|
2.5 |
Ultimate Force/Criteria Diagram. |
"RESISTANCE_LINE" |
object |
- |
Optional |
|||
|
2.5.1 |
Color |
"COLOR" |
object |
- |
Optional |
|||
|
2.5.1.1 |
Red • Range: 0~255 |
"R" |
integer |
- |
Required |
|||
|
2.5.1.2 |
Green • Range: 0~255 |
"G" |
integer |
- |
Required |
|||
|
2.5.1.3 |
Blue • Range: 0~255 |
"B" |
integer |
- |
Required |
|||
|
2.5.2 |
Thick. • Range: 0~20 |
"THICKNESS" |
integer |
1 |
Optional |
|||
|
2.6 |
Diagram Option |
"DIAGRAM" |
object |
- |
Optional |
|||
|
2.6.1 |
Scale Factor • Minimum: 0 |
"SCALE_FACTOR" |
number |
1 |
Optional |
|||
|
2.6.2 |
Fill Type • No: "NONE" • Line: "LINE" • Solid: "SOLID" |
"FILL" |
string |
LINE |
Optional |
|||
|
2.6.3 |
Direction |
"DIRECTION" |
object |
- |
Optional |
|||
|
2.6.3.1 |
Direction • Global: "GLOBAL" • Local: "LOCAL" |
"TYPE" |
string |
LOCAL |
Optional |
|||
|
When TYPE = "Global" |
||||||||
|
2.6.3.2 |
Axis • X Axis: "X" • Y Axis: "Y" • Z Axis: "Z" |
"AXIS" |
string |
MAJOR |
Required |
|||
|
3 |
Type of Display |
"TYPE_OF_DISPLAY" |
object |
- |
Optional |
|||
|
3.1 |
Contour |
"CONTOUR" |
object |
- |
Optional |
|||
|
3.1.1 |
Contour |
"OPT_CHECK" |
boolean |
true |
Optional |
|||
|
3.2 |
Legend |
"LEGEND" |
object |
- |
Optional |
|||
|
3.2.1 |
Legend |
"OPT_CHECK" |
boolean |
true |
Optional |
|||
|
3.3 |
Values |
"VALUES" |
object |
- |
Optional |
|||
|
3.3.1 |
Values |
"OPT_CHECK" |
boolean |
false |
Optional |
|||
|
3.3.2 |
Decimal Points • Minimum: 0 |
"DECIMAL_PT" |
integer |
0 |
Optional |
|||
|
3.3.3 |
Value Exp. |
"VALUE_EXP" |
boolean |
false |
Optional |
|||
|
4 |
Value Output Location |
"OUTPUT_SECT_LOCATION" |
object |
- |
Optional |
|||
|
4.1 |
I |
"OPT_I" |
boolean |
false |
Optional |
|||
|
4.2 |
Center |
"OPT_CENTER_MID" |
boolean |
false |
Optional |
|||
|
4.3 |
J |
"OPT_J" |
boolean |
false |
Optional |
|||
|
4.4 |
Abs Max / Min/Max / All • Abs Max: "Abs Max" • Min/Max: "Min/Max" • All: "All" |
"OPT_MAX_MINMAX_ALL" |
string |
- |
Optional |
|||