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": "a76af81e-c870-4458-a7a2-ae8b2333d8c3",
"Name": "sample string 2",
"Description": "sample string 3",
"UsedByCourse": true,
"UsedByProgram": true,
"SchoolId": "a6b3b510-00c3-47ec-b7bf-39f883b6f3b0"
}
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>a6b3b510-00c3-47ec-b7bf-39f883b6f3b0</SchoolId> <SectorId>a76af81e-c870-4458-a7a2-ae8b2333d8c3</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector>