private WebRioResponse OpenNewConsultation(CrmServiceClient crmInterface, WebRioSsoConfig configuration, string token) { Customer cust = CrmService.GetCustomerDataForWebRioNewConsultation(_client.CrmInterface, configuration.CustomerId); configuration.Data = SerializeNewConsultationSsoRequestToJson(cust); var url = $"{configuration.ServiceUrl}/{configuration.NewConsultationApi}"; var response = SendRequest(url, token, configuration.JSessionId, configuration.Data); var content = GetResponseContent(response); return(GetWebRioSsoResponse(content)); }