Modify Grammar Folder Name or Language Name

HTTPS Method

PUT

URI

https://<server>/adminapi/grammar/FolderPath

https://<server>/adminapi/grammar/LanguagePath

Example URI

https://uccx-server/adminapi/grammar/language/

https://uccx-server/adminapi/grammar/folder/

Content Type

Application/XML, Application/JSON

HTTPS Success Code

200

HTTPS Failure Codes

404, 500

Error Codes

Success Response

Sample Input XML — Renaming the Language

<?xml version="1.0" encoding="UTF-8"?>
<Files xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Files.xsd">
  <Grammar>
    <LanguageDetails>
      <path>/</path>
      <LanguageName>FTCustomDocLanguage1</LanguageName>
      <reNameTo>FTCustomModDocLanguage1</reNameTo>
    </LanguageDetails>
   </Grammar>
</Files>

Sample Input XML — Renaming the Folder

<?xml version="1.0" encoding="UTF-8"?>
<Files xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Files.xsd">
  <Grammar>
    <Folder>
      <path>/FTCustomModDocLanguage1</path>
      <FolderName>FTCustomDocumentFolder1</FolderName>
      <reNameTo>FTCustomModDocumentFolder1</reNameTo>
    </Folder>
   </Grammar>
</Files>