POST PlanCare2Api/Relations/{relationId}/Photo

Upload a photo of a relation, with a maximum allowed size of 10MB. Photo content in Base64String format.

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

The Photo, with a maximum allowed size of 10MB.

Photo
NameDescriptionTypeAdditional information
Content

Photo content in Base64String format.

string

None

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

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