PUT api/CommitteePhoto/{index}/{rows}

Modifies existing image for a Committee.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
index

string

None.

rows

string

None.

Body Parameters

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.

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": "2018-11-21T14:03:57.1717727+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-21T14:03:57.1717727+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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.