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

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Lab
Teradata Viewpoint
Release Number
24.04
Published
April 2024
ft:locale
en-US
ft:lastEdition
2024-04-29
dita:mapPath
qko1711972084905.ditamap
dita:ditavalPath
ft:empty
dita:id
prd1525780132746
lifecycle
latest
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.