Using CURL - Using CURL - Teradata Data Lab - Teradata Viewpoint

Teradata® Viewpoint and Teradata® Data Lab API Reference Guide - 23.04

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Lab
Teradata Viewpoint
Release Number
23.04
Published
April 2023
ft:locale
en-US
ft:lastEdition
2023-05-05
dita:mapPath
tvo1678987866029.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2215
lifecycle
previous
Product Category
Analytical Ecosystem

You can access Viewpoint REST APIs using CURL commands. Following are some examples:

GET

curl -X GET -u <username> "https://<hostname>:9443/api/public/<endpoint>" -H "accept: application/vnd.com.teradata.viewpoint-v1.0+json"

POST

curl -X POST -u <username> "https://<hostname>:9443/api/public/<endpoint>" -H "accept: */*" -H "Content-Type: application/vnd.com.teradata.viewpoint-v1+json" -d "{<request body>}"

PUT

curl -X PUT -u <username> "https://<hostname>:9443/api/public/<endpoint>" -H "accept: */*" -H "Content-Type: application/vnd.com.teradata.viewpoint-v1+json" -d "{<request body>}"

DELETE

curl -X DELETE -u <username> "https://<hostname>:9443/api/public/<endpoint>" -H "accept: */*"
Any requests using these APIs are to your Viewpoint and Data Lab instances and therefore could affect real data.