LiveService


Click here for a complete list of operations.

ProcessText

Process text and get result with link (LinguLab website) to processing details.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /LiveService.asmx HTTP/1.1
Host: api.lingulab.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://api.lingulab.net/LiveService.asmx/ProcessText"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessText xmlns="https://api.lingulab.net/LiveService.asmx">
      <inputData>
        <ResultKey>int</ResultKey>
        <Text>string</Text>
        <ConfigurationId>string</ConfigurationId>
        <LanguageKey>string</LanguageKey>
        <SearchKeyword1>string</SearchKeyword1>
        <SearchKeyword2>string</SearchKeyword2>
        <SearchKeyword3>string</SearchKeyword3>
        <SectionTypeSettings>
          <Headline>string</Headline>
          <SubHeadline>string</SubHeadline>
          <Teaser>string</Teaser>
          <Text>string</Text>
          <BulletList>
            <ListTag>string</ListTag>
            <ItemTag>string</ItemTag>
          </BulletList>
          <NumberList>
            <ListTag>string</ListTag>
            <ItemTag>string</ItemTag>
          </NumberList>
        </SectionTypeSettings>
        <BackUrl>
          <BackUrl>string</BackUrl>
          <BackTitle>string</BackTitle>
          <BackAndSaveUrl>string</BackAndSaveUrl>
          <BackAndSaveTitle>string</BackAndSaveTitle>
        </BackUrl>
        <PanelSetting>
          <PositionMode>Bottom or Left</PositionMode>
          <IsAllModulesDisplayed>boolean</IsAllModulesDisplayed>
          <IsMetaGroupsShowsAlways>boolean</IsMetaGroupsShowsAlways>
          <IsHideStars>boolean</IsHideStars>
        </PanelSetting>
      </inputData>
      <authenticationKey>string</authenticationKey>
    </ProcessText>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessTextResponse xmlns="https://api.lingulab.net/LiveService.asmx">
      <ProcessTextResult>
        <ResultId>int</ResultId>
        <Measure>int</Measure>
        <Note>string</Note>
        <MeasureStarsHtml>string</MeasureStarsHtml>
        <LinkOnResultPage>string</LinkOnResultPage>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
      </ProcessTextResult>
    </ProcessTextResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /LiveService.asmx HTTP/1.1
Host: api.lingulab.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ProcessText xmlns="https://api.lingulab.net/LiveService.asmx">
      <inputData>
        <ResultKey>int</ResultKey>
        <Text>string</Text>
        <ConfigurationId>string</ConfigurationId>
        <LanguageKey>string</LanguageKey>
        <SearchKeyword1>string</SearchKeyword1>
        <SearchKeyword2>string</SearchKeyword2>
        <SearchKeyword3>string</SearchKeyword3>
        <SectionTypeSettings>
          <Headline>string</Headline>
          <SubHeadline>string</SubHeadline>
          <Teaser>string</Teaser>
          <Text>string</Text>
          <BulletList>
            <ListTag>string</ListTag>
            <ItemTag>string</ItemTag>
          </BulletList>
          <NumberList>
            <ListTag>string</ListTag>
            <ItemTag>string</ItemTag>
          </NumberList>
        </SectionTypeSettings>
        <BackUrl>
          <BackUrl>string</BackUrl>
          <BackTitle>string</BackTitle>
          <BackAndSaveUrl>string</BackAndSaveUrl>
          <BackAndSaveTitle>string</BackAndSaveTitle>
        </BackUrl>
        <PanelSetting>
          <PositionMode>Bottom or Left</PositionMode>
          <IsAllModulesDisplayed>boolean</IsAllModulesDisplayed>
          <IsMetaGroupsShowsAlways>boolean</IsMetaGroupsShowsAlways>
          <IsHideStars>boolean</IsHideStars>
        </PanelSetting>
      </inputData>
      <authenticationKey>string</authenticationKey>
    </ProcessText>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ProcessTextResponse xmlns="https://api.lingulab.net/LiveService.asmx">
      <ProcessTextResult>
        <ResultId>int</ResultId>
        <Measure>int</Measure>
        <Note>string</Note>
        <MeasureStarsHtml>string</MeasureStarsHtml>
        <LinkOnResultPage>string</LinkOnResultPage>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
      </ProcessTextResult>
    </ProcessTextResponse>
  </soap12:Body>
</soap12:Envelope>