Retrieves the available REST API versions.

DocuSign Production system: https://www.docusign.net/restapi/service_information DocuSign Demo system: https://demo.docusign.net/restapi/service_information

You do not need an integrator key to view the REST API versions and resources.

Request

HTTP request

GET /service_information

Parameters

Parameter NameValueDescription

Responses

CodeDescriptionReference
200

Successful response.

Services
400

Error encountered.

errorDetails

SDK Method

Diagnostics::getService

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.

serviceVersion

versionstring

The version of the rest API.

versionUrlstring

Services

API service information

buildBranchstring

Reserved: TBD

buildBranchDeployedDateTimestring

Reserved: TBD

buildSHAstring

Reserved: TBD

buildVersionstring

Reserved: TBD

linkedSites[array]

serviceVersions[serviceVersion]

Examples

Generic JSON Response

Response
{
  "serviceVersions": [
    {
      "version": "sample string 1",
      "versionUrl": "sample string 2"
    }
  ],
  "buildVersion": "sample string 1",
  "buildBranch": "sample string 2",
  "buildSHA": "sample string 3",
  "buildBranchDeployedDateTime": "sample string 4",
  "linkedSites": [
    "sample string 1"
  ]
}
Generic XML Response

Response
<serviceInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.docusign.com/restapi">
  <buildBranch>sample string 2</buildBranch>
  <buildBranchDeployedDateTime>sample string 4</buildBranchDeployedDateTime>
  <buildSHA>sample string 3</buildSHA>
  <buildVersion>sample string 1</buildVersion>
  <linkedSites>
    <string>sample string 1</string>
  </linkedSites>
  <serviceVersions>
    <serviceVersion>
      <version>sample string 1</version>
      <versionUrl>sample string 2</versionUrl>
    </serviceVersion>
  </serviceVersions>
</serviceInformation> 
}} />