Docusign TimeZones API

The TimeZones API from Docusign — 1 operation(s) for timezones.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

docusign-timezones-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: DocuSign Admin AccountBrands TimeZones API
  description: An API for an organization administrator to manage organizations, accounts and users
  termsOfService: https://www.docusign.com/company/terms-and-conditions/developers
  contact:
    name: DocuSign Developer Center
    url: https://developers.docusign.com
    email: devcenter@docusign.com
  version: v2.1
servers:
- url: https://api.docusign.net/Management
tags:
- name: TimeZones
  description: ''
paths:
  /v2/time_zones:
    get:
      tags:
      - TimeZones
      summary: Docusign Gets time zones.
      description: 'Gets a list of time zones that you can assign to an office.


        **Note:** You do not specify an `accountId` with this method.


        ## Permissions


        Anyone with a valid access token can call this method.'
      operationId: TimeZones_GetTimeZones
      responses:
        '200':
          description: Request was successful.
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GlobalTimeZones'
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalTimeZones'
            text/json:
              schema:
                $ref: '#/components/schemas/GlobalTimeZones'
            application/xml:
              schema:
                $ref: '#/components/schemas/GlobalTimeZones'
            text/xml:
              schema:
                $ref: '#/components/schemas/GlobalTimeZones'
        '400':
          description: Bad request. See ErrorCode and Message for details
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
            text/json:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/xml:
              schema:
                $ref: '#/components/schemas/ApiError'
            text/xml:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Not authorized to make this request.
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
            text/json:
              schema:
                $ref: '#/components/schemas/ApiError'
            application/xml:
              schema:
                $ref: '#/components/schemas/ApiError'
            text/xml:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-ds-methodname: GetTimeZones
      x-ds-method: GetTimeZones
      x-ds-service: TimeZones
      x-ds-in-sdk: true
components:
  schemas:
    TimeZone:
      type: object
      properties:
        timeZoneId:
          type: string
          description: 'The ID of the time zone.


            Example: `brisbane`'
        name:
          type: string
          description: 'The name of the time zone.


            Example: `Eastern Australia (Brisbane)`'
      description: Contains information about a time zone.
      x-ds-definition-name: TimeZone
      x-ms-summary: Contains information about a time zone.
    ApiError:
      type: object
      properties:
        errorCode:
          type: string
          description: The code associated with the error condition.
        message:
          type: string
          description: A brief message describing the error condition.
        referenceId:
          type: string
          description: ''
      description: This object describes errors that occur. It is valid only for responses and ignored in requests.
      x-ds-definition-name: ApiError
      x-ms-summary: This object describes errors that occur. It is valid only for responses and ignored in requests.
    GlobalTimeZones:
      type: object
      properties:
        timeZones:
          type: array
          description: A list of time zones.
          items:
            $ref: '#/components/schemas/TimeZone'
      description: Contains a list of time zones.
      x-ds-definition-name: GlobalTimeZones
      x-ms-summary: Contains a list of time zones.
  securitySchemes:
    accessCode:
      type: oauth2
      description: OAuth2 Access code Grant
      flows:
        authorizationCode:
          authorizationUrl: https://account.docusign.com/oauth/auth
          tokenUrl: https://account.docusign.com/oauth/auth
          scopes:
            organization_read: ''
            permission_read: ''
            group_read: ''
            user_read: ''
            account_read: ''
            account_write: ''
            user_write: ''
            identity_provider_read: ''
            domain_read: ''
x-ds-categories:
- name: UserManagement
  summary: Methods to manage users in an account.
  description: Methods to manage users in an account.
- name: BulkOperations
  summary: Methods to import and export users and accounts.
  description: Methods to import and export users and accounts.
- name: IdentityProviders
  summary: Methods to get a list of identity providers.
  description: Methods to get a list of identity providers.
- name: ReservedDomains
  summary: Methods to get a list of reserved domains.
  description: Methods to get a list of reserved domains.
- name: Organization
  summary: Methods for working with organizations.
  description: Methods for working with organizations.
x-original-swagger-version: '2.0'