Get Sy MS Operation Status - Get Sy MS Operation Status
Get the status of validation by operation Id
GET {endpoint}/databases/operations/{operationId}?api-version=2021-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
endpoint
|
path | True |
string url |
The workspace development endpoint, for example |
operation
|
path | True |
string |
Operation Id. |
api-version
|
query | True |
string |
The Synapse client API Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully returned the status of given operation Id |
|
Other Status Codes |
SyMS error response. |
Examples
Get the status of validation by operation Id,
Sample Request
GET exampleWorkspace.dev.azuresynapse.net/databases/operations/exampleOperationId?api-version=2021-04-01
Sample Response
{
"items": [
{
"name": "exampleName",
"type": "TABLE"
}
]
}
{
"error": {
"code": "Error code",
"message": "SyMS response error message"
}
}
Definitions
Name | Description |
---|---|
Cloud |
The object that defines the structure of an Azure Synapse error response. |
Query |
Query artifacts response. |
CloudError
The object that defines the structure of an Azure Synapse error response.
Name | Type | Description |
---|---|---|
error.code |
string |
Error code. |
error.details |
Array with additional error details. |
|
error.message |
string |
Error message. |
error.target |
string |
Property name/path in request associated with error. |
QueryArtifactsResponse
Query artifacts response.
Name | Type | Description |
---|---|---|
continuationToken |
string |
Continuation token to get next page. |
items |
object[] |
MDEntity (Database/Table/Schema/View/PartitionInfo/PermissionAssignment |