Operations - Get Operation By ID
Retrieve the operation by ID.
Retrieve the operation specified by ID.
GET https://api.powerplatform.com/environmentmanagement/operations/{operationId}?api-version=2022-03-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
operation
|
path | True |
string |
The operation ID. |
api-version
|
query | True |
string |
The API version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK Media Types: "text/plain", "application/json", "text/json" |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
Name | Description |
---|---|
.default | .default |
Definitions
Name | Description |
---|---|
Environment | |
Error |
|
Job |
|
Operation |
|
Operation |
The operation status. |
User |
Environment
Name | Type | Description |
---|---|---|
environmentId |
string |
The environment ID. |
ErrorInfo
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
fieldErrors |
object |
JobStatus
Name | Type | Description |
---|---|---|
endTime |
string (date-time) |
The job end time. |
name |
string |
The job name. |
startTime |
string (date-time) |
The job start time. |
status |
string |
The job status. |
OperationExecutionResult
Name | Type | Description |
---|---|---|
endTime |
string (date-time) |
The end time. |
errorDetail | ||
jobStatuses | ||
name |
string |
The result name. |
operationId |
string |
The operation ID. |
requestedBy | ||
startTime |
string (date-time) |
The start time. |
status |
The operation status. |
|
updatedEnvironment |
OperationStatus
The operation status.
Value | Description |
---|---|
Queued | |
InProgress | |
Succeeded | |
ValidationError | |
Failed | |
NoOperation | |
Validated |
UserIdentity
Name | Type | Description |
---|---|---|
displayName |
string |
The display name. |
tenantId |
string |
The tenant ID. |
userId |
string |
The user ID. |