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": "bcd47bdd-cdba-4772-8cc9-8c80694096ef",
"Name": "sample string 2",
"Description": "sample string 3",
"UsedByCourse": true,
"UsedByProgram": true,
"SchoolId": "e33a663b-8d25-4466-ae01-3d78c2ac782b"
}
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>e33a663b-8d25-4466-ae01-3d78c2ac782b</SchoolId> <SectorId>bcd47bdd-cdba-4772-8cc9-8c80694096ef</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector>