GET api/GetStructureTypeBySessionId/{trainingSessionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| trainingSessionId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StructureTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | TypeStructures |
None. |
|
| LongLabel | string |
None. |
|
| ShortLabel | string |
None. |
|
| Order | integer |
None. |
|
| Registered | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 0,
"LongLabel": "sample string 1",
"ShortLabel": "sample string 2",
"Order": 3,
"Registered": true
},
{
"Id": 0,
"LongLabel": "sample string 1",
"ShortLabel": "sample string 2",
"Order": 3,
"Registered": true
}
]
application/xml, text/xml
Sample:
<ArrayOfStructureTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Models.Atrium">
<StructureTypes>
<Id>None</Id>
<LongLabel>sample string 1</LongLabel>
<Order>3</Order>
<Registered>true</Registered>
<ShortLabel>sample string 2</ShortLabel>
</StructureTypes>
<StructureTypes>
<Id>None</Id>
<LongLabel>sample string 1</LongLabel>
<Order>3</Order>
<Registered>true</Registered>
<ShortLabel>sample string 2</ShortLabel>
</StructureTypes>
</ArrayOfStructureTypes>