GET api/photo/{id}/{type}/{category}
Returns photo for a Research Fellow by their Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id is their eGap Id |
string |
Required |
type |
Must be "ResearchFellow" not case sensitive |
string |
Required |
category |
Must be "Egap" not case sensitive |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PhotoName | Description | Type | Additional information |
---|---|---|---|
Pcode | string |
None. |
|
eGapId | integer |
None. |
|
AwardId | integer |
None. |
|
CommitteeId | integer |
None. |
|
Image | string |
None. |
|
IsMain | boolean |
None. |
|
Caption | string |
None. |
|
Copyright | string |
None. |
|
Id | integer |
None. |
|
LastUpdatedTimestamp | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Pcode": "sample string 1", "eGapId": 2, "AwardId": 3, "CommitteeId": 4, "Image": "sample string 5", "IsMain": true, "Caption": "sample string 7", "Copyright": "sample string 8", "Id": 9, "LastUpdatedTimestamp": "2024-03-28T20:27:41.272667+00:00" }
text/xml
Sample:
<Photo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models"> <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">9</Id> <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-03-28T20:27:41.272667+00:00</LastUpdatedTimestamp> <AwardId>3</AwardId> <Caption>sample string 7</Caption> <CommitteeId>4</CommitteeId> <Copyright>sample string 8</Copyright> <Image>sample string 5</Image> <IsMain>true</IsMain> <Pcode>sample string 1</Pcode> <eGapId>2</eGapId> </Photo>