GET api/Sector
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SectorName | 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": "68efe9f4-26c4-4df9-8015-1f5188b6dd62", "Name": "sample string 2", "Description": "sample string 3", "UsedByCourse": true, "UsedByProgram": true, "SchoolId": "f86383e4-8b3f-48e3-a418-340a3b227fb6" }, { "SectorId": "68efe9f4-26c4-4df9-8015-1f5188b6dd62", "Name": "sample string 2", "Description": "sample string 3", "UsedByCourse": true, "UsedByProgram": true, "SchoolId": "f86383e4-8b3f-48e3-a418-340a3b227fb6" } ]
application/xml, text/xml
Sample:
<ArrayOfSector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDMS.REST.Models"> <Sector> <Description>sample string 3</Description> <Name>sample string 2</Name> <SchoolId>f86383e4-8b3f-48e3-a418-340a3b227fb6</SchoolId> <SectorId>68efe9f4-26c4-4df9-8015-1f5188b6dd62</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector> <Sector> <Description>sample string 3</Description> <Name>sample string 2</Name> <SchoolId>f86383e4-8b3f-48e3-a418-340a3b227fb6</SchoolId> <SectorId>68efe9f4-26c4-4df9-8015-1f5188b6dd62</SectorId> <UsedByCourse>true</UsedByCourse> <UsedByProgram>true</UsedByProgram> </Sector> </ArrayOfSector>