POST api/TributePhoto

Request Information

URI Parameters

None.

Body Parameters

TributePhotoMessage
NameDescriptionTypeAdditional information
FuneralHomeID

integer

Required

Range: inclusive between 1 and 10000

TributeID

Newly created or Existing Tributeid

integer

Required

Range: inclusive between 1 and 90000000

Photo

Only one image in base64Image format either Jpg or Gif eg "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASAB........."

string

Required

Request Formats

application/json, text/json

Sample:
{
  "FuneralHomeID": 1,
  "TributeID": 2,
  "Photo": "sample string 3"
}

application/xml, text/xml

Sample:
<TributePhotoMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TributesAPI.Models">
  <FuneralHomeID>1</FuneralHomeID>
  <Photo>sample string 3</Photo>
  <TributeID>2</TributeID>
</TributePhotoMessage>

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.