GET api/AssignmentTypes/{AssignmentTypeId}
Returns an Assignment Type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AssignmentTypeId |
Application identifier for the Assignment Type |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
AssignmentType object for the specified AssignmentTypeId
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": "d691719f-9041-4447-8282-f4e8058f35a2",
"DataVersion": "sample string 4",
"ApiName": ""
}
application/xml, text/xml
Sample:
<AssignmentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1"> <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 4</DataVersion> <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">d691719f-9041-4447-8282-f4e8058f35a2</Id> <Description>sample string 1</Description> <Weight>2</Weight> </AssignmentType>