Get Service Account by ID

Use this API to return a service account by its ID from the Speech Server.

HTTP Method

GET

URI

https://<serverip/hostname/FQDN>/speechconfig/rest/config/

<service_type>/serviceaccount/<service account name>

Valid Values

ASR, TTS, NLP

Content Type

Application/JSON, Application/XML

HTTP Success Code

200 OK - Successful

HTTP Failure Code

4xx - Client Error

5xx - Server Error

Parameters

Refer to the Data Structure for Speech Configuration section for the list of parameters.

Sample Response
<speechConfig>
    <serviceAccount>
        <providerName>dialogFlow</providerName>
        <id>cisco-dev-9gkv</id>
        <description>Provide description here</description>
        <useAsDefault>true</useAsDefault>
        <key>JSON Key</key>
        <properties>
            <property>
                <key>default-language</key>
                <value>en-US</value>
            </property>
        </properties>
        <languageSettings>
            <languageSetting>
                <code>en-US</code>
                <gender>Male</gender>
                <voiceName>Bob</voiceName>
            </languageSetting>
        </languageSettings>
    </serviceAccount>
</speechConfig>