GET PlanCare2Api/Relations/{relationId}/Thumbnail

Get a thumbnail of a relation.

Relation(s) can be of the following types: Client, Prospect, Employee, ContactPerson

Request Information

URI Parameters

NameDescriptionTypeAdditional information
relationId

Id of relation.

integer

Required

Body Parameters

None.

Response Information

Resource Description

RelationPhoto
NameDescriptionTypeAdditional information
RelationId

Id

integer

None

Photo

Photo content in Base64String format.

string

None

Response Formats

application/json, text/json

Sample:
{
  "RelationId": 1,
  "Photo": "sample string 2"
}

application/xml, text/xml

Sample:
<RelationPhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Relation">
  <Photo>sample string 2</Photo>
  <RelationId>1</RelationId>
</RelationPhoto>