Accounts: listSupportedLanguages

List supported languages for the recipient language setting

Request

HTTP request

GET /v2.1/accounts/{accountId}/supported_languages

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID GUID.

Responses

CodeDescriptionReference
200

Successful response.

supportedLanguages
400

Error encountered.

errorDetails

SDK Method

Accounts::getSupportedLanguages

Definitions

errorDetails

This object describes errors that occur. It is only valid for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

nameValue

errorDetailserrorDetails

This object describes errors that occur. It is only valid for responses and ignored in requests.

namestring

The name of the item.

originalValuestring

The initial value of the item.

valuestring

The current value of the item.

supportedLanguages

languages[nameValue]

Examples

Generic JSON Response

Response
{
  "languages": [
    {}
  ]
}
Generic XML Response

Response
<supportedLanguages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_REST.Models.v2">
  <languages xmlns:d2p1="http://www.docusign.com/restapi">
    <d2p1:nameValue />
  </languages>
</supportedLanguages> 
}} />