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 AssignmentTypeName | 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": "951a5d71-49b3-49cb-8b88-c55a4aa8637f", "DataVersion": "sample string 4", "ApiName": "" }, { "Description": "sample string 1", "Weight": 2, "Id": "951a5d71-49b3-49cb-8b88-c55a4aa8637f", "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">951a5d71-49b3-49cb-8b88-c55a4aa8637f</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">951a5d71-49b3-49cb-8b88-c55a4aa8637f</Id> <Description>sample string 1</Description> <Weight>2</Weight> </AssignmentType> </ArrayOfAssignmentType>