ProcessText

ProcessText web-method should be used for processing text with LinguLab API.

Parameters

inputDataProcessTextDatarequired
authenticationKeystringrequired

ProcessTextData properties

ResultKeyintegeroptional
Textstringrequired
ConfigurationIdstringoptional, default text genre will be used.
LanguageKeystringoptional, default language will be used.
SearchKeyword1stringoptional
SearchKeyword3stringoptional
SearchKeyword3stringoptional
SectionTypeSettingsSectionTypeSettingoptional
BackUrlBackUrlDataoptional
PanelSettingResultPanelSettingoptional

SectionTypeSetting properties

BulletListListSettingrequired
Headlinestringrequired
NumberListListSettingrequired
SubHeadlinestringrequired
Teaserstringrequired
Textstringrequired

BackUrlData properties

BackUrlstringoptional
BackTitlestringoptional
BackAndSaveUrlstringoptional
BackAndSaveTitlestringoptional

ResultPanelSetting properties

PositionModePanelModerequired, values: Bottom, Left
IsAllModulesDisplayedbooleanrequired
IsMetaGroupsShowsAlwaysbooleanrequired
IsHideStarsbooleanrequired
inputData.SectionTypeSettings = new SectionTypeSetting();
inputData.SectionTypeSettings.Headline = "h1";
inputData.SectionTypeSettings.SubHeadline = "h2";
inputData.SectionTypeSettings.Teaser = "h3";
inputData.SectionTypeSettings.Text = "p";
inputData.SectionTypeSettings.BulletList = new ListSetting();
inputData.SectionTypeSettings.BulletList.ItemTag = "li";
inputData.SectionTypeSettings.BulletList.ListTag = "ul";
inputData.SectionTypeSettings.NumberList = new ListSetting();
inputData.SectionTypeSettings.NumberList.ItemTag = "li";
inputData.SectionTypeSettings.NumberList.ListTag = "ol";
inputData.BackUrl = new BackUrlData()
{
BackUrl = "http://my.website.com/?resultKey={resultKey}",
BackTitle = "Back to my website",
BackAndSaveUrl = "http://my.website.com/update?resultKey={resultKey}",
BackAndSaveTitle = "Save And Close"
};