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": "eb9216a2-f640-4090-bb9d-db9e6ce83830",
"Name": "sample string 2",
"Description": "sample string 3",
"UsedByCourse": true,
"UsedByProgram": true,
"SchoolId": "42ada369-1fb1-4e7a-b3c0-7824181b76c4"
}
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>42ada369-1fb1-4e7a-b3c0-7824181b76c4</SchoolId> <SectorId>eb9216a2-f640-4090-bb9d-db9e6ce83830</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector>