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": "91edc4fb-00d3-4beb-8b9c-72dffed28e2b",
"Name": "sample string 2",
"Description": "sample string 3",
"UsedByCourse": true,
"UsedByProgram": true,
"SchoolId": "78bb13b7-1b7b-43e2-9073-c490f0e0f575"
}
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>78bb13b7-1b7b-43e2-9073-c490f0e0f575</SchoolId> <SectorId>91edc4fb-00d3-4beb-8b9c-72dffed28e2b</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector>