public CAMAPI_STATUS SaveFavorite(CamDictionary settings) { // Save a set of camera settings. The supplied settings must have an id key set to a valid value. // returns: CAMAPI_STATUS.OKAY, CAMAPI_STATUS.INVALID_PARAMETER, or CAMAPI_STATUS.STORAGE_ERROR string jdata = api.PostTarget("/save_favorite", settings); return((CAMAPI_STATUS)JsonConvert.DeserializeObject(jdata, typeof(CAMAPI_STATUS))); }