private static string CreatePanelGetAppRequestJson() { Customer customer = new Customer(); customer.agentFactoryId = 32; customer.agentId = 42; customer.journeyId = 2015; customer.sessionId = "Test"; return JsonConvert.SerializeObject(customer, Formatting.Indented); }
private static string CreatePostPanelRequestJson() { Customer customer = new Customer(); customer.agentId = int.Parse(Settings.JourneyInstance.AgentIdPanel); customer.journeyCode = Settings.JourneyInstance.JourneyCode; customer.majorVersion = Settings.JourneyInstance.MajorVersion; customer.version = Settings.JourneyInstance.Version; customer.environmentId = int.Parse(Settings.JourneyInstance.EnvironmentId); customer.appsDomain = Settings.Instance.AppsApiDomain; customer.tagDomain = Settings.Instance.TagDomain; return JsonConvert.SerializeObject(customer, Formatting.Indented); }