PUT api/Photo
Update a photo
Request Information
URI Parameters
None.
Body Parameters
Will need to contain the fellowId, Pcode or eGap Id depending on the type of Fellow or Research Fellow that is being updated
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. |
Request 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-29T11:25:47.0825449+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-29T11:25:47.0825449+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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |