Additional Objects#

Action#

When the action was performed, and details about the user who did it

Properties#

Name

Type

Description

Restrictions

dateTime

string(date-time)

When the action was performed

read-only

user

PlatformUser¦null

The user’s ID

Example#

{
  "dateTime": "2019-10-30T15:03:27Z",
  "user": {
    "id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD"
  }
}

BearerToken#

Bearer token to use in subsequent requests to the Workiva APIs.

Properties#

Name

Type

Description

Restrictions

access_token

string

The opaque string used to authorize and make requests on behalf of the user

required

expires_in

integer

The number of seconds the access token is valid

required

scope

string

The limits of the user’s access with the token, such as Read or Create

required

token_type

string

The type of access token; typically bearer

required

Example#

{
  "access_token": "string",
  "expires_in": 0,
  "scope": "string",
  "token_type": "string"
}

CreateSheetBody#

Properties#

Name

Type

Description

Restrictions

index

integer(int32)

Zero-based index specifying the position of this sheet in relation to sibling sheets. The special value -1 may be used to position a sheet at the end of its siblings list in the outline without knowing how many sheets are in the list.

required

name

string

Display name for the sheet

required

parent_id

string

Unique identifier for the parent sheet of the sheet. The empty string value may be used to position the sheet at the top level of the spreadsheet outline.

required

Example#

{
  "index": 0,
  "name": "Data Sheet",
  "parent_id": "d10a604b74564afa86b5ba96755845652"
}

ErrorDetails#

Additional details of the error

Properties#

Name

Type

Description

Restrictions

code

string

message

string

target

string

Example#

{
  "code": "InvalidOrder",
  "message": "Ordering by 'name desc' is not supported",
  "target": "name"
}

ErrorResponse#

Error response that indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Properties#

Name

Type

Description

Restrictions

code

string

One of a server-defined set of error codes.

details

[ErrorDetails]

Additional details of the error

documentationUrl

string

Link to some documentation relevant to the issue or endpoint in use.

message

string

A human-readable representation of the error.

target

string

The target of the error.

version

string

The API version in use when the error occurred.

Example#

{
  "code": "BadArgument",
  "details": [
    {
      "code": "InvalidOrder",
      "message": "Ordering by 'name desc' is not supported",
      "target": "name"
    }
  ],
  "documentationUrl": "https://developers.workiva.com",
  "message": "The provided $orderBy option is not supported.",
  "target": "$orderBy",
  "version": "2022-01-01"
}

Failure#

An error response. All fields other than “errors” are optional

Properties#

Name

Type

Description

Restrictions

errors

[object]

required

errors.code

string

An application-specific error code, expressed as a string value

errors.detail

string

A human-readable explanation specific to this occurrence of the problem. Like ‘title’, this field’s value can be localized.

errors.id

string

A unique identifier for this particular occurrence of the problem

errors.links

object

errors.links.about

string

A link that leads to further details about this particular occurrence of the problem

errors.meta

object

Non-standard meta-information that cannot be represented as an attribute or relationship.

errors.source

object

errors.source.parameter

string

A string indicating which URI query parameter caused the error

errors.source.pointer

string

A JSON Pointer [RFC6901] to the associated entity in the request document

errors.status

string

The HTTP status code applicable to this problem, expressed as a string value

errors.title

string

A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization

jsonapi

object

jsonapi.version

string

links

object

A list of URLs.

meta

object

Non-standard meta-information that cannot be represented as an attribute or relationship.

Example#

{
  "errors": [
    {
      "code": "string",
      "detail": "string",
      "id": "string",
      "links": {
        "about": "string"
      },
      "meta": {},
      "source": {
        "parameter": "string",
        "pointer": "string"
      },
      "status": "string",
      "title": "string"
    }
  ],
  "jsonapi": {
    "version": "string"
  },
  "links": {},
  "meta": {}
}

GetOrgReportUsersResponse#

A report of Organization Users

Properties#

Name

Type

Description

Restrictions

data

[object]

required

data.attributes

object

data.attributes.active

boolean¦null

data.attributes.displayName

string¦null

data.attributes.email

string¦null

data.attributes.firstName

string¦null

data.attributes.lastLogin

string¦null

data.attributes.lastName

string¦null

data.attributes.licenses

[string]¦null

data.attributes.organizationRoles

[string]¦null

data.attributes.samlId

string¦null

data.attributes.userName

string¦null

data.attributes.workspaceMemberships

[object]¦null

data.attributes.workspaceMemberships.id

string

The Workspace ID

data.attributes.workspaceMemberships.workspaceName

string¦null

data.attributes.workspaceMemberships.workspaceRoles

[string]¦null

data.id

string

The resource ID

data.links

object

A list of URLs.

data.relationships

object

data.type

string

The resource type (File)

included

[object]

Any additional included resources

unique

included.attributes

object

included.id

string

The resource ID

included.type

string

The resource type

jsonapi

object

jsonapi.version

string

links

object

links.next

string(uri)¦null

The next page of data

meta

object

Non-standard meta-information that cannot be represented as an attribute or relationship.

Enumerated Values#

Property

Value

type

orgReportUser

type

File

Example#

{
  "data": [
    {
      "attributes": {
        "active": true,
        "displayName": "string",
        "email": "string",
        "firstName": "string",
        "lastLogin": "string",
        "lastName": "string",
        "licenses": [
          "string"
        ],
        "organizationRoles": [
          "string"
        ],
        "samlId": "string",
        "userName": "string",
        "workspaceMemberships": [
          {
            "id": "string",
            "workspaceName": "string",
            "workspaceRoles": [
              "string"
            ]
          }
        ]
      },
      "id": "string",
      "links": {},
      "relationships": {},
      "type": "orgReportUser"
    }
  ],
  "included": [
    {
      "attributes": {},
      "id": "string",
      "type": "string"
    }
  ],
  "jsonapi": {
    "version": "string"
  },
  "links": {
    "next": "http://example.com"
  },
  "meta": {}
}

IamError#

Error response object containing an error code.

Properties#

Name

Type

Description

Restrictions

error

string

The possible error codes are:
- invalid_request - The request is missing a required parameter, includes an invalid parameter
value, includes a parameter more than once, or is otherwise malformed.
- unauthorized_client - The client is not authorized to request an authorization
code using this method.
- access_denied - The resource owner or authorization server denied the request.
- unsupported_response_type - The authorization server does not support obtaining an authorization
code using this method.
- invalid_scope - The requested scope is invalid, unknown, or malformed.
- server_error - The authorization server encountered an unexpected condition that prevented it
from fulfilling the request.
- temporarily_unavailable - The authorization server is currently unable to handle the request
due to a temporary overloading or maintenance of the server.

error_description

string

Human-readable ASCII text providing additional information.

error_uri

string

A URI identifying a human-readable web page with information about the error.

Example#

{
  "error": "string",
  "error_description": "string",
  "error_uri": "string"
}

JSONPatchDocument#

Represents a collection of JSON patch operations. For more information, refer to the PATCH Update documentation.

Properties#

Name

Type

Description

Restrictions

anonymous

[JSONPatchOperation]

Represents a collection of JSON patch operations. For more information, refer to the PATCH Update documentation.

Example#

[
  {
    "op": "replace",
    "path": "/name",
    "value": "New name"
  }
]

JSONPatchOperation#

Represents a single JSON Patch operation. For more information, refer to the PATCH Update documentation.

Properties#

Name

Type

Description

Restrictions

from

string

op

string

required

path

string

required

value

any

Enumerated Values#

Property

Value

op

add

op

remove

op

replace

op

move

op

copy

op

test

Example#

{
  "op": "replace",
  "path": "/name",
  "value": "New name"
}

OrganizationUser#

Details about the user.

Properties#

Name

Type

Description

Restrictions

created

OrganizationUserAction¦null

When the action was performed, and details about the user who did it

read-only

displayName

string

The displayed name of the user

email

string

The email address of the user

familyName

string

The user’s family name

givenName

string

The user’s given name

id

string

The unique identifier of the user

read-only

modified

OrganizationUserAction¦null

When the action was performed, and details about the user who did it

read-only

status

string

Whether or not this user is active

username

string

The user name of the user

Enumerated Values#

Property

Value

status

active

status

suspended

Example#

{
  "created": {
    "dateTime": "2019-10-30T15:03:27Z",
    "user": {
      "id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD"
    }
  },
  "displayName": "John Doe",
  "email": "john.doe@example.com",
  "familyName": "Doe",
  "givenName": "John",
  "id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD",
  "modified": {
    "dateTime": "2019-10-30T15:03:27Z",
    "user": {
      "id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD"
    }
  },
  "status": "active",
  "username": "john.doe@example.com"
}

PlatformUser#

Details about the user, including their name, ID, and email address

Properties#

Name

Type

Description

Restrictions

displayName

string

Display name of the user

read-only

email

string

Email address of the user

read-only

firstName

string

First name of the user

read-only

id

string

The unique identifier of the user

lastName

string

Last name of the user

read-only

userName

string

Username of the user

read-only

Example#

{
  "displayName": "John Doe",
  "email": "string",
  "firstName": "John",
  "id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD",
  "lastName": "Doe",
  "userName": "string"
}

PublishBody#

Properties#

Name

Type

Description

Restrictions

all

boolean

Whether to publish all links in the spreadsheet (available only as its owner), or only one’s own links. By default, false.

Example#

{
  "all": false
}

RangeDataBody#

Properties#

Name

Type

Description

Restrictions

values

[[string, integer, boolean, or number]]

Row-major ordered multidimensional array of cell values

Example#

{
  "values": [
    [
      "Row1-Column1 Data",
      "Row1-Column2 Data"
    ],
    [
      "Row2-Column1 Data",
      "Row2-Column2 Data"
    ]
  ]
}

SpreadsheetBody#

Properties#

Name

Type

Description

Restrictions

name

string

Display name for the spreadsheet

required

Example#

{
  "name": "Test Spreadsheet"
}

UpdateSheetBody#

Properties#

Name

Type

Description

Restrictions

index

integer(int32)

Zero-based index specifying the position of this sheet in relation to sibling sheets. The special value -1 may be used to position a sheet at the end of its siblings list in the outline without knowing how many sheets are in the list.

name

string

Display name for the sheet

parent_id

string

Unique identifier for the parent sheet of the sheet. The empty string value may be used to position the sheet at the top level of the spreadsheet outline.

Example#

{
  "index": 0,
  "name": "Data Sheet",
  "parent_id": "d10a604b74564afa86b5ba96755845652"
}