public virtual void UpdatePerson(string personGroupId, Guid personId, string name, string userData = null) { var response = RepositoryClient.SendJsonUpdate(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}persongroups/{personGroupId}/persons/{personId}", JsonConvert.SerializeObject(new UserDataRequest { Name = name, UserData = userData })); return; }
public virtual void UpdateModel(string modelId, UpdateModelRequest request) { RepositoryClient.SendJsonUpdate(ApiKeys.Recommendations, $"{ApiKeys.RecommendationsEndpoint}{modelsUrl}{modelId}", JsonConvert.SerializeObject(request)); }