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
| Name | Description | Type | Additional information |
|---|---|---|---|
| relationId |
Id of relation. |
integer |
Required |
Body Parameters
The Photo, with a maximum allowed size of 10MB.
Photo| Name | Description | Type | Additional information |
|---|---|---|---|
| Content |
Photo content in Base64String format. |
string |
None |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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 |