GET api/Sector/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Sector| Name | Description | Type | Additional information |
|---|---|---|---|
| SectorId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| UsedByCourse | boolean |
None. |
|
| UsedByProgram | boolean |
None. |
|
| SchoolId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"SectorId": "a2b2e3dc-7fc3-4784-b8b5-6cfdc5226420",
"Name": "sample string 2",
"Description": "sample string 3",
"UsedByCourse": true,
"UsedByProgram": true,
"SchoolId": "75e4f300-f3ae-4bb9-a919-41c020e4a4c5"
}
application/xml, text/xml
Sample:
<Sector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDMS.REST.Models"> <Description>sample string 3</Description> <Name>sample string 2</Name> <SchoolId>75e4f300-f3ae-4bb9-a919-41c020e4a4c5</SchoolId> <SectorId>a2b2e3dc-7fc3-4784-b8b5-6cfdc5226420</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector>