API Reference

This endpoint is deprecated. It not longer functions as intended, as pivotingquery results is now handled by cross tab queries. This endpoint will be removedon September 1, 2020.

Description

GET /api/v1/pivotview/{pivotViewId}/token

🚧

Required OAuth Scopes:

No OAuth scopes are required to use this endpoint.

Parameters

ParameterInTypeRequiredDescription
pivotViewIdpathstringtrueThe unique identifier of the pivot view

Code Samples

curl -X GET https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}/token  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}/token  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}/token" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.get('https://h.app.wdesk.com/s/wdata/prep/api/v1/pivotview/{pivotViewId}/token', headers = headers)

print(r.json())

Returns

200 - OK

Returns a JSON object with a body property, which contains a PivotViewTokenDto object.

Example Responses


{
  "body": {
    "created": "string",
    "id": "string",
    "objectId": "string",
    "updated": "string",
    "useFlatKey": "boolean",
    "userId": "string",
    "version": "integer"
  },
  "code": "integer"
}