GET api/Photo/{index}/{rows}/{field}/{order}?id={id}

Returns photo for a Fellow by their Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id can be a FellowId (e.g. 25) or a Pcode (e.g. ABR00003)

string

Required

index

string

None.

rows

string

None.

field

string

None.

order

string

None.

Body Parameters

None.

Response Information

Resource Description

Photo
NameDescriptionTypeAdditional 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": "2018-11-18T12:21:06.8459252+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">2018-11-18T12:21:06.8459252+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>