Share via


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
operationId
path True

string

The operation ID.

api-version
query True

string

The API version.

Responses

Name Type Description
200 OK

OperationExecutionResult

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
ErrorInfo
JobStatus
OperationExecutionResult
OperationStatus

The operation status.

UserIdentity

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

ErrorInfo

jobStatuses

JobStatus[]

name

string

The result name.

operationId

string

The operation ID.

requestedBy

UserIdentity

startTime

string (date-time)

The start time.

status

OperationStatus

The operation status.

updatedEnvironment

Environment

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.