public string AddOrUpdateParty(string authToken, string partyId, EditablePartySettings editablePartySettings) { var request = BuildPostRequest("V1/Internal/AddOrUpdateParty", null, authToken, editablePartySettings) .WithAdditionalQueryParameter("partyId", partyId); var result = clusterClient.Send(request); EnsureSuccessResult(result); return(Serializer.Deserialize <string>(result.Response.Content.ToString())); }
public string AddOrUpdateParty([NotNull] string authToken, [NotNull] string partyId, [NotNull] EditablePartySettings editablePartySettings) { var url = new UrlBuilder(BaseUri, relativeUrl + "AddOrUpdateParty") .AddParameter("partyId", partyId); return(MakePostRequest <EditablePartySettings, string>(url.ToUri(), authToken, editablePartySettings)); }