Input URI
|
{base url} + DESIGN/RC/AASHTO-LRFD24/REBT |
|---|
Active Methods
|
POST, GET, PUT, DELETE |
|---|
JSON Schema
Details
"type": "object",
"required": [
"Assign"
],
"additionalProperties": false,
"properties": {
"Assign": {
"type": "object",
"description": "Keyed object (dictionary). Each property name is a section ID string (e.g., \"4\") of a general section. Writing a section deletes the member-level rebar (RBTE) of the elements that use it",
"additionalProperties": false,
"minProperties": 1,
"patternProperties": {
"^[0-9]+$": {
"title": "Rebar Input for General Section",
"type": "object",
"additionalProperties": false,
"properties": {
"ORIGIN_TYPE": {
"type": "string",
"default": "CENTROID",
"description": "Origin the dialog shows the coordinates in. Y and Z are always centroid-relative regardless of this value. Omitted on PUT keeps the stored value, on POST the default",
"enum": [
"CENTROID",
"LEFT BOTTOM"
]
},
"MAIN_BAR": {
"type": "array",
"description": "Main bars, applied along the whole member (Rebar tab; AASHTO uses one set for I and J). Omitting the array leaves the stored bars unchanged; when present, entries are merged by NUM. At least one bar must remain. Collection items are paired with the stored items by request position and missing properties are filled in from them, so read the record with GET, edit it and send every property of every item back. A bar cannot be removed with PUT: to remove bars, DELETE the record and POST the bars to keep",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"NUM": {
"type": "integer",
"description": "Bar number in this collection. Matches a stored bar to update it (bars are never removed by PUT); on POST a number that is not stored appends. Every save renumbers the collection to 1..N, so re-read the record before reusing it",
"minimum": 1
},
"NAME": {
"type": "string",
"description": "Bar size (Dia). Required when the bar is appended. Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected"
},
"Y": {
"type": "number",
"description": "Bar centre, section local y, from the section design centroid (current length unit). Always centroid-relative, whatever ORIGIN_TYPE is. Required when the bar is appended"
},
"Z": {
"type": "number",
"description": "Bar centre, section local z, from the section design centroid (current length unit). Always centroid-relative, whatever ORIGIN_TYPE is. Required when the bar is appended"
}
}
}
},
"HOOP_BAR": {
"type": "object",
"additionalProperties": false,
"description": "Hoop bar, applied along the whole member (Hoop Rebar tab). Omitted leaves the stored value unchanged",
"properties": {
"NAME": {
"type": "string",
"description": "Hoop bar size. The empty string means no hoop bar (the state of a new record), so a GET result can be sent back unchanged. Rebar designation from the model's concrete rebar size list (not a fixed enum: one list per model, chosen by the concrete rebar material code). An empty or unknown name is rejected"
},
"LEG_Y": {
"type": "integer",
"description": "Number of legs in section local y",
"minimum": 0
},
"LEG_Z": {
"type": "integer",
"description": "Number of legs in section local z",
"minimum": 0
},
"DIST": {
"type": "number",
"description": "Longitudinal hoop spacing in section local x (current length unit)",
"minimum": 0
}
}
}
}
}
}
}
}
}
Request Examples
Example
"Assign": {
"4": {
"ORIGIN_TYPE": "CENTROID",
"MAIN_BAR": [
{
"NUM": 1,
"NAME": "#8",
"Y": 0.22,
"Z": 0.22
},
{
"NUM": 2,
"NAME": "#8",
"Y": -0.22,
"Z": 0.22
},
{
"NUM": 3,
"NAME": "#8",
"Y": -0.22,
"Z": -0.22
},
{
"NUM": 4,
"NAME": "#8",
"Y": 0.22,
"Z": -0.22
}
],
"HOOP_BAR": {
"NAME": "#4",
"LEG_Y": 2,
"LEG_Z": 2,
"DIST": 0.15
}
}
}
}
Response Examples
Example
"REBT": {
"4": {
"ORIGIN_TYPE": "CENTROID",
"MAIN_BAR": [
{
"NUM": 1,
"NAME": "#8",
"Y": 0.22,
"Z": 0.22
},
{
"NUM": 2,
"NAME": "#8",
"Y": -0.22,
"Z": 0.22
},
{
"NUM": 3,
"NAME": "#8",
"Y": -0.22,
"Z": -0.22
},
{
"NUM": 4,
"NAME": "#8",
"Y": 0.22,
"Z": -0.22
}
],
"HOOP_BAR": {
"NAME": "#4",
"LEG_Y": 2,
"LEG_Z": 2,
"DIST": 0.15
}
}
}
}
Specifications
Keyed Object Entry
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
Root Object |
||||||||
|
1 |
Keyed object (dictionary). Each property name is a section ID string (e.g., "4") of a general section. Writing a section deletes the member-level rebar (RBTE) of the elements that use it |
"Assign" |
object |
- |
Required |
|||
Item (Value Object Schema)
| No. | Description | Key | Value Type | Default | Required | |||
|---|---|---|---|---|---|---|---|---|
|
General |
||||||||
|
1 |
Origin Type • Centroid: "CENTROID" • Left-Bottom: "LEFT BOTTOM" |
"ORIGIN_TYPE" |
string |
CENTROID |
Optional |
|||
|
2 |
Rebar |
"MAIN_BAR" |
array [object] |
- |
Optional |
|||
|
2.1 |
No. • Minimum: 1 |
"NUM" |
integer |
- |
Optional |
|||
|
2.2 |
Rebar |
"NAME" |
string |
- |
Optional |
|||
|
2.3 |
y |
"Y" |
number |
- |
Optional |
|||
|
2.4 |
z |
"Z" |
number |
- |
Optional |
|||
|
3 |
Hoop Rebar |
"HOOP_BAR" |
object |
- |
Optional |
|||
|
3.1 |
Size |
"NAME" |
string |
- |
Optional |
|||
|
3.2 |
Leg y • Minimum: 0 |
"LEG_Y" |
integer |
- |
Optional |
|||
|
3.3 |
Leg z • Minimum: 0 |
"LEG_Z" |
integer |
- |
Optional |
|||
|
3.4 |
Spacing • Minimum: 0 |
"DIST" |
number |
- |
Optional |
|||