Create a New Data Contract
Create a new data contract. The request body must contain a valid DataContract object. Returns the created contract.
| Request Body — REQUIRED DataContract object to create. | |||||
|---|---|---|---|---|---|
specVersion string | |||||
catalogURL string | |||||
termsAndConditions object
| |||||
stakeholders object
| |||||
notifications object
| |||||
sampleValues string[] | |||||
usageInfo string | |||||
json string | |||||
version string | |||||
active boolean | |||||
assetCreatedDate date-time | |||||
assetUpdatedDate date-time | |||||
createdTime int64 | |||||
updatedTime int64 | |||||
createdBy string | |||||
updatedBy string | |||||
owner string | |||||
tags string[] | |||||
id int32 | |||||
name string | |||||
description string | |||||
datasetId string | |||||
columns string | |||||
successMsg string | |||||
failureMsg string | |||||
onboardingStatus stringPossible values: [ | |||||
executionStatus stringPossible values: [ | |||||
criticalityLevel stringPossible values: [ |
| Responses | |||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201Data contract created successfully.
| |||||||||||||||||||||||||||||||||||||||||
400Malformed request or invalid data contract. | |||||||||||||||||||||||||||||||||||||||||
401Unauthorized. Authentication required. | |||||||||||||||||||||||||||||||||||||||||
409A contract with the same name already exists for the dataset. |