Input URI
|
{base url} + DESIGN/RC/AASHTO-LRFD20/CD-REPORT |
|---|
Active Methods
|
POST |
|---|
JSON Schema
Details
"type": "object",
"required": [
"Argument"
],
"additionalProperties": false,
"properties": {
"Argument": {
"type": "object",
"description": "Column Design report",
"additionalProperties": false,
"required": [
"REPORT_TYPE",
"EXPORT_PATH",
"OUTPUT_NAME"
],
"properties": {
"REPORT_TYPE": {
"type": "string",
"description": "Sorted by: MEMB (Member) or PROP (Section)",
"enum": [
"MEMB",
"PROP"
]
},
"CURRENT_MODE_MEMB": {
"type": "string",
"description": "Output when sorted by member (buttons of the result dialog) Takes precedence over CURRENT_MODE.",
"enum": [
"Graphic",
"Detail",
"Summary",
"SUMMARY BY LCB",
"PMCurve"
]
},
"CURRENT_MODE_PROP": {
"type": "string",
"description": "Output when sorted by section (Detail and Summary By LCB are disabled in section order) Takes precedence over CURRENT_MODE.",
"enum": [
"Graphic",
"Summary",
"PMCurve"
]
},
"CURRENT_MODE": {
"type": "string",
"description": "Report kind used when the mode of the REPORT_TYPE (CURRENT_MODE_MEMB / CURRENT_MODE_PROP) is not given; matched without regard to case",
"enum": [
"Graphic",
"Detail",
"Summary",
"SUMMARY BY LCB",
"PMCurve"
]
},
"ELEMS": {
"type": "object",
"description": "Element selection. Use either ELEMS or SECTIONS, not both. Omit both for all elements.",
"additionalProperties": false,
"properties": {
"KEYS": {
"type": "array",
"description": "Specify Each ID (element numbers)",
"items": {
"type": "integer",
"minimum": 1
}
},
"TO": {
"type": "string",
"description": "Specify ID Range (e.g. '1to160'; '1-10' is also accepted)"
}
}
},
"SECTIONS": {
"type": "array",
"description": "Section numbers. Use either ELEMS or SECTIONS, not both. Omit both for all elements.",
"items": {
"type": "integer",
"minimum": 1
}
},
"EXPORT_PATH": {
"type": "string",
"description": "Directory path to save the report files"
},
"OUTPUT_NAME": {
"type": "string",
"description": "File name in EXPORT_PATH. Graphic: must end with .bmp, .emf or .jpg (otherwise INVALID_EXPORT_PATH). Detail: .doc is added when missing. Summary / SUMMARY BY LCB / PMCurve: .txt is added when there is no extension. An existing file of that name is replaced",
"minLength": 1
}
}
}
}
}
Request Examples
Member - Graphic
"Argument": {
"REPORT_TYPE": "MEMB",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_Graphic.jpg",
"CURRENT_MODE_MEMB": "Graphic",
"ELEMS": {
"KEYS": [
5,
6
]
}
}
}
Member - Detail
"Argument": {
"REPORT_TYPE": "MEMB",
"CURRENT_MODE_MEMB": "Detail",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_MEMB_Detail",
"ELEMS": {
"KEYS": [
5,
6
]
}
}
}
Member - Draw PM Curve
"Argument": {
"REPORT_TYPE": "MEMB",
"CURRENT_MODE_MEMB": "PMCurve",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_MEMB_PMCurve",
"ELEMS": {
"KEYS": [
5,
6
]
}
}
}
Member - Summary By LCB
"Argument": {
"REPORT_TYPE": "MEMB",
"CURRENT_MODE_MEMB": "SUMMARY BY LCB",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_MEMB_SUMMARY_BY_LCB",
"ELEMS": {
"KEYS": [
5,
6
]
}
}
}
Member - Summary
"Argument": {
"REPORT_TYPE": "MEMB",
"CURRENT_MODE_MEMB": "Summary",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_MEMB_Summary",
"ELEMS": {
"KEYS": [
5,
6
]
}
}
}
Section - Graphic
"Argument": {
"REPORT_TYPE": "PROP",
"CURRENT_MODE_PROP": "Graphic",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_PROP_Graphic.jpg",
"SECTIONS": [
2
]
}
}
Section - Draw PM Curve
"Argument": {
"REPORT_TYPE": "PROP",
"CURRENT_MODE_PROP": "PMCurve",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_PROP_PMCurve",
"SECTIONS": [
2
]
}
}
Section - Summary
"Argument": {
"REPORT_TYPE": "PROP",
"CURRENT_MODE_PROP": "Summary",
"EXPORT_PATH": "C:\\MIDAS\\Report\\",
"OUTPUT_NAME": "CD_20_PROP_Summary",
"SECTIONS": [
2
]
}
}
Response Examples
Member - Graphic
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_Graphic.jpg",
"MESSAGE": ""
}
Member - Detail
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_MEMB_Detail.doc",
"MESSAGE": ""
}
Member - Draw PM Curve
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_MEMB_PMCurve.txt",
"MESSAGE": ""
}
Member - Summary By LCB
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_MEMB_SUMMARY_BY_LCB.txt",
"MESSAGE": ""
}
Member - Summary
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_MEMB_Summary.txt",
"MESSAGE": ""
}
Section - Graphic
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_PROP_Graphic.jpg",
"MESSAGE": ""
}
Section - Draw PM Curve
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_PROP_PMCurve.txt",
"MESSAGE": ""
}
Section - Summary
"SUCCESS": true,
"RESULT": "SUCCESS",
"CATEGORY": "NONE",
"FILE_PATH": "C:\\MIDAS\\Report\\CD_20_PROP_Summary.txt",
"MESSAGE": ""
}
Specifications
Keyed Object Entry
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
Root Object |
||||||||
|
1 |
Column Design report |
"Argument" |
object |
- |
Required |
|||
Item (Value Object Schema)
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
General |
||||||||
|
1 |
Sorted by • Member: "MEMB" • Section: "PROP" |
"REPORT_TYPE" |
string |
- |
Required |
|||
|
2 |
Report Mode • Graphic: "Graphic" • Detail: "Detail" • Summary: "Summary" • Summary By LCB: "SUMMARY BY LCB" • Draw PM Curve: "PMCurve" |
"CURRENT_MODE_MEMB" |
string |
- |
Optional |
|||
|
3 |
Report Mode • Graphic: "Graphic" • Summary: "Summary" • Draw PM Curve: "PMCurve" |
"CURRENT_MODE_PROP" |
string |
- |
Optional |
|||
|
4 |
Report Mode (common) • Graphic: "Graphic" • Detail: "Detail" • Summary: "Summary" • Summary By LCB: "SUMMARY BY LCB" • Draw PM Curve: "PMCurve" |
"CURRENT_MODE" |
string |
- |
Optional |
|||
|
5 |
Element No. |
"ELEMS" |
object |
- |
Optional |
|||
|
5.1 |
Specify Each ID |
"KEYS" |
array |
- |
Optional |
|||
|
5.2 |
Specify ID Range |
"TO" |
string |
- |
Optional |
|||
|
6 |
Section No. |
"SECTIONS" |
array |
- |
Optional |
|||
|
7 |
Export Path |
"EXPORT_PATH" |
string |
- |
Required |
|||
|
8 |
Output File Name |
"OUTPUT_NAME" |
string |
- |
Required |
|||