GET api/Faculty?dept={dept}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dept | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FacultyName | Description | Type | Additional information |
---|---|---|---|
EmailAddress | string |
None. |
|
Name | string |
None. |
|
CxID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EmailAddress": "sample string 1", "Name": "sample string 2", "CxID": 3 }, { "EmailAddress": "sample string 1", "Name": "sample string 2", "CxID": 3 } ]
text/javascript
Sample:
[{"EmailAddress":"sample string 1","Name":"sample string 2","CxID":3},{"EmailAddress":"sample string 1","Name":"sample string 2","CxID":3}]
application/xml, text/xml
Sample:
<ArrayOfFaculty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pomona.WebApi.Models"> <Faculty> <CxID>3</CxID> <EmailAddress>sample string 1</EmailAddress> <Name>sample string 2</Name> </Faculty> <Faculty> <CxID>3</CxID> <EmailAddress>sample string 1</EmailAddress> <Name>sample string 2</Name> </Faculty> </ArrayOfFaculty>