}
public StatusCode changeFavoriteStatus(String sessionId, int accountId, Integer movieId, boolean isFavorite) throws MovieDbException {
ApiUrl apiUrl = new ApiUrl(apiKey, BASE_ACCOUNT, accountId + "/favorite");
apiUrl.addArgument(PARAM_SESSION, sessionId);
Map<String, Object> body = new HashMap<String, Object>();
body.put(MOVIE_ID, movieId);
body.put("favorite", isFavorite);
String jsonBody = convertToJson(body);