GET api/Sections/{SectionId}/AssignmentTypes
Returns the Assignment Types for a Section's Section Group.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SectionId |
Application identifier for the Section |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AssignmentType objects for the Section Group of the Section for the specified SectionId
Collection of AssignmentType| Name | Description | Type | Additional information |
|---|---|---|---|
| Description |
The description for the Assignment Type. |
string |
None. |
| Weight |
The weight for the Assignment Type. |
integer |
None. |
| Id |
The application identifier for the object. This cannot be changed by the user. |
globally unique identifier |
None. |
| DataVersion |
The version of the API data |
string |
None. |
| ApiName |
The name of the object without the Api suffix |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Description": "sample string 1",
"Weight": 2,
"Id": "52d2b44c-82e9-4830-8d3d-f6517a8cd9d8",
"DataVersion": "sample string 4",
"ApiName": ""
},
{
"Description": "sample string 1",
"Weight": 2,
"Id": "52d2b44c-82e9-4830-8d3d-f6517a8cd9d8",
"DataVersion": "sample string 4",
"ApiName": ""
}
]
application/xml, text/xml
Sample:
<ArrayOfAssignmentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1">
<AssignmentType>
<DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 4</DataVersion>
<Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">52d2b44c-82e9-4830-8d3d-f6517a8cd9d8</Id>
<Description>sample string 1</Description>
<Weight>2</Weight>
</AssignmentType>
<AssignmentType>
<DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 4</DataVersion>
<Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">52d2b44c-82e9-4830-8d3d-f6517a8cd9d8</Id>
<Description>sample string 1</Description>
<Weight>2</Weight>
</AssignmentType>
</ArrayOfAssignmentType>