Edit Person Picture

Allows the picture of a person registered in the Organization module to be edited.

 

URL

{RMUrl}/api/organization/people/<PersonID>/picture

 

REQUEST METHOD

PUT

 

URL PARAMETER

PersonID: Unique person identifier. This parameter is provided in the URL and does not need to be sent through PUT.

 

FORM CONTENT

Data (Required): The file with the photo of the person. The maximum file size is 10 MB. The file bytes must be converted to a base64 string before sending.

 

REQUEST EXAMPLE

{RMUrl}/api/Organization/people/6fe49ce4-56d4-475f-9483-1adca6b2976c/picture

 

FORM CONTENT EXAMPLE

{

"Data": "TWFuIGlzIGRVGtikFETJWQsIG5vdCBvbm"

}

 

Note: The file must be in one of the following formats: jpeg, png, gif or bmp.

 

SUCCESS RESPONSE

HTTP status code 204: NoContent