Request and Response Examples
The following are request and response examples for the most common Tableau Semantics Authoring Experience API calls.
The following is an example of a request to create Semantic Data Objects with Fields.
<POST> /ssot/semantic/models/{{modelName}}/data-objects
The following is an example of a response to a create Semantic Data Objects with Fields request.
The following is an example of a request to create a Calculated Measurement:
<POST> /ssot/semantic/models/{{modelName}}/calculated-measurements
The following is an example of a response to a create a Calculated Measurement request:
The following is an example of a request to create a Calculated Dimension
<POST> /ssot/semantic/models/{{modelName}}/calculated-dimensions
The following is an example of a response to a create a Calculated Dimension request:
The following is an example of a request to create a full Semantic Model with all its components:
<POST> /ssot/semantic/models
The following is an example of a response to a create a Semantic Model request: