Function that will flip the content.
The id of the FlipContent element
the API response envelope as a JSON string: { code, isSuccess, message, value? }
{ code, isSuccess, message, value? }
Function that will flip the content.