public virtual void UpdateFaceList(string faceListId, string name, string userData) { var response = RepositoryClient.SendJsonPatch(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}facelists", JsonConvert.SerializeObject(new UserDataRequest { Name = name, UserData = userData })); return; }
public virtual void UpdatePersonGroup(string personGroupId, string name, string userData = null) { var response = RepositoryClient.SendJsonPatch(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}persongroups{personGroupId}", JsonConvert.SerializeObject(new UserDataRequest { Name = name, UserData = userData })); return; }
public virtual void UpdateKnowledgeBase(Guid knowledgeBaseId, PatchKnowledgeBaseRequest request) { RepositoryClient.SendJsonPatch(ApiKeys.QnA, $"{ApiKeys.QnAEndpoint}{knowledgeBaseId}", JsonConvert.SerializeObject(request)); }