Retrieves a ManifestConnection Run with the specified ID.
Authentication
Requires Authorization header with valid Bearer token for scope itwin-platform.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Request parameters
Connection Id
Run Id
Request headers
OAuth access token with itwin-platform scope
Setting to application/vnd.bentley.itwin-platform.v1+json is recommended.
Response 200 OK
OK
{ "run": { "id": "a1ecbdc8c4f6173004f9f881914a57c5511a362b", "connectionId": "MWplZe9Uf0iR1IDMqyOMLry641hUCa9JjxI3cYz8uCg", "startDateTime": "2020-10-24T02:44:13.4109666+00:00", "endDateTime": "2020-10-24T02:47:13.4109666+00:00", "phase": "MasterFile", "state": "Completed", "result": "PartialSuccess", "error": { "errorKey": "UserNotAuthenticated", "description": "User is not authenticated." }, "jobs": [{ "id": "d6ecbdc8c4f6173004f9f881914a57c5511a362b", "startDateTime": "2020-10-24T02:44:13.4109666+00:00", "endDateTime": "2020-10-24T02:44:13.4109666+00:00", "state": "Completed", "result": "PartialSuccess", "connectorType": "DWG", "tasks": [{ "id": "f5ecbdc8c4f6173004f9f881914a57c5511a362b", "sourceFileId": "master-file-id123", "startDateTime": "2020-10-24T02:44:13.4109666+00:00", "endDateTime": "2020-10-24T02:44:13.4109666+00:00", "retryAttempts": 0, "state": "Completed", "result": "Success", "error": { "errorCode": "TAE_BRG_1000", "message": "Failed to process the file.", "details": "Error exit code received from bridge wrapper.", "bridgeExitCode": 4294967295, "system": "cloud_orchestrator", "phase": "internal_server_error", "category": "other", "descriptionKey": "RunOrchestrationError", "description": "Failed to orchestrate Run.", "kbArticleLink": "", "canUserFix": false }, "details": { "synchronizationReport": { "suggestedAction": "Warning", "message": "", "totalErrorsCount": 0, "totalWarningsCount": 20, "totalOtherIssuesCount": 3 } } }] }] } }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 404 Not Found
This response indicates that the specified connection run was not found.
{ "error": { "code": "ManifestConnectionRunNotFound", "message": "Requested ManifestConnection Run is not available." } }
Response 422 Unprocessable Entity
Invalid request to get connection run.
{ "error": { "code": "InvalidManifestConnectionRunRequest", "message": "Cannot perform operation.", "details": [{ "code": "InvalidValue", "message": "Provided connectionId value is not valid.", "target": "connectionId" }] } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
Error
Contains error information.
One of a server-defined set of error codes.
The target of the error.
A human-readable representation of the error.
{ "type": "object", "required": [ "code", "message" ], "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "target": { "type": "string", "nullable": true, "description": "The target of the error." }, "message": { "type": "string", "description": "A human-readable representation of the error." } }, "description": "Contains error information.", "additionalProperties": true }
Job Phase
One of 'Preprocessor', 'MasterFile', 'ReferenceFile'.
{ "enum": [ "Preprocessor", "MasterFile", "ReferenceFile" ], "type": "string", "title": "Job Phase", "description": "One of 'Preprocessor', 'MasterFile', 'ReferenceFile'." }
task-error
Phase.
System.
More specific information about the error.
A human-readable representation of the error.
Category.
Error code.
A boolean value representing if the error is user fixable or not.
Description.
A link to public documentation for known errors.
An integer representing connector exit code.
Description key.
{ "type": "object", "properties": { "phase": { "type": "string", "description": "Phase." }, "system": { "type": "string", "description": "System." }, "details": { "type": "string", "description": "More specific information about the error." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "category": { "type": "string", "description": "Category." }, "errorCode": { "type": "string", "description": "Error code." }, "canUserFix": { "type": "boolean", "description": "A boolean value representing if the error is user fixable or not." }, "description": { "type": "string", "description": "Description." }, "kbArticleLink": { "type": "string", "description": "A link to public documentation for known errors." }, "bridgeExitCode": { "type": "integer", "description": "An integer representing connector exit code." }, "descriptionKey": { "type": "string", "description": "Description key." } }, "additionalProperties": false }
Manifest Connection Run's Job
A manifest job id.
A string indicating current execution status of the job.
A string indicating outcome of the executed job.
A timestamp when manifest job ended.
A timestamp when manifest job started.
{ "type": "object", "title": "Manifest Connection Run's Job", "properties": { "id": { "type": "string", "description": "A manifest job id." }, "state": { "type": "string", "description": "A string indicating current execution status of the job." }, "tasks": { "type": "array", "items": { "$ref": "#/components/schemas/manifest-task" }, "description": "An array of manifest task entities." }, "result": { "type": "string", "description": "A string indicating outcome of the executed job." }, "endDateTime": { "type": "string", "description": "A timestamp when manifest job ended." }, "connectorType": { "$ref": "#/components/schemas/connector-type" }, "startDateTime": { "type": "string", "description": "A timestamp when manifest job started." } }, "additionalProperties": false }
Manifest Connection Run
A connection run id.
A timestamp when connection run ended.
Connection id.
A timestamp when connection run started.
{ "type": "object", "title": "Manifest Connection Run", "properties": { "id": { "type": "string", "description": "A connection run id." }, "jobs": { "type": "array", "items": { "$ref": "#/components/schemas/manifest-job" }, "description": "An array of manifest job entities." }, "error": { "$ref": "#/components/schemas/run-error-details" }, "phase": { "$ref": "#/components/schemas/job-phase" }, "state": { "$ref": "#/components/schemas/execution-state" }, "result": { "$ref": "#/components/schemas/execution-result" }, "endDateTime": { "type": "string", "description": "A timestamp when connection run ended." }, "connectionId": { "type": "string", "description": "Connection id." }, "startDateTime": { "type": "string", "description": "A timestamp when connection run started." } }, "additionalProperties": false }
Task details
{ "type": "object", "title": "Task details", "properties": { "synchronizationReport": { "$ref": "#/components/schemas/synchronization-report" } }, "additionalProperties": false }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "type": "object", "title": "Error Response", "required": [ "error" ], "properties": { "error": { "$ref": "#/components/schemas/Error", "description": "Error information." } }, "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.", "additionalProperties": false }
Manifest Connection Run Job's Task
A manifest task id.
A string indicating current status of the manifest task.
A string indicating outcome of the manifest task.
A timestamp when manifest task ended.
Source file id.
The number of attempts when manifest task was retried.
A timestamp when manifest task started.
{ "type": "object", "title": "Manifest Connection Run Job's Task", "properties": { "id": { "type": "string", "description": "A manifest task id." }, "error": { "$ref": "#/components/schemas/task-error" }, "state": { "type": "string", "description": "A string indicating current status of the manifest task." }, "result": { "type": "string", "description": "A string indicating outcome of the manifest task." }, "details": { "$ref": "#/components/schemas/task-details" }, "endDateTime": { "type": "string", "description": "A timestamp when manifest task ended." }, "sourceFileId": { "type": "string", "description": "Source file id." }, "retryAttempts": { "type": "integer", "description": "The number of attempts when manifest task was retried." }, "startDateTime": { "type": "string", "description": "A timestamp when manifest task started." } }, "additionalProperties": false }
Connector type
One of 'AUTOPLANT', 'CIVIL', 'CIVIL3D', 'DWG', 'GEOSPATIAL', 'IFC', 'MSTN', 'NWD', 'OBD', 'OPENTOWER', 'REVIT', 'SPPID', 'SPXREVIEW', 'PROSTRUCTURES', 'RVM', 'PSEXCEL', 'INTELLIPID'. Name of the Connector that is used for synchronization.
{ "enum": [ "AUTOPLANT", "CIVIL", "CIVIL3D", "DWG", "GEOSPATIAL", "IFC", "MSTN", "NWD", "OBD", "OPENTOWER", "REVIT", "SPPID", "SPXREVIEW", "PROSTRUCTURES", "RVM", "PSEXCEL", "INTELLIPID" ], "type": "string", "title": "Connector type", "description": "One of 'AUTOPLANT', 'CIVIL', 'CIVIL3D', 'DWG', 'GEOSPATIAL', 'IFC', 'MSTN', 'NWD', 'OBD', 'OPENTOWER', 'REVIT', 'SPPID', 'SPXREVIEW', 'PROSTRUCTURES', 'RVM', 'PSEXCEL', 'INTELLIPID'. Name of the Connector that is used for synchronization." }
Execution State
One of 'NotStarted', 'Idle', 'WaitingToExecute', 'WaitingToRetry', 'Executing', 'Finalizing', 'Completed', 'Queued'.
{ "enum": [ "NotStarted", "Idle", "WaitingToExecute", "WaitingToRetry", "Executing", "Finalizing", "Completed", "Queued" ], "type": "string", "title": "Execution State", "description": "One of 'NotStarted', 'Idle', 'WaitingToExecute', 'WaitingToRetry', 'Executing', 'Finalizing', 'Completed', 'Queued'." }
Execution Result
One of 'Undetermined', 'Success', 'Error', 'PartialSuccess', 'Skipped', 'Canceled', 'TimedOut'.
{ "enum": [ "Undetermined", "Success", "Error", "PartialSuccess", "Skipped", "Canceled", "TimedOut" ], "type": "string", "title": "Execution Result", "description": "One of 'Undetermined', 'Success', 'Error', 'PartialSuccess', 'Skipped', 'Canceled', 'TimedOut'." }
Suggested action
Error severity level
{ "enum": [ "Error", "Warning", "Info" ], "type": "string", "title": "Suggested action", "description": "Error severity level" }
Run error details
Error key.
More information about run error.
{ "type": "object", "title": "Run error details", "nullable": true, "properties": { "errorKey": { "type": "string", "description": "Error key." }, "description": { "type": "string", "description": "More information about run error." } }, "additionalProperties": false }
Run response
{ "type": "object", "title": "Run response", "properties": { "run": { "$ref": "#/components/schemas/manifest-run" } }, "additionalProperties": false }
Synchronization report
Error message explaining the result
Number of errors in the report
Number of warnings in the report
Number of other issues in the report
{ "type": "object", "title": "Synchronization report", "properties": { "message": { "type": "string", "description": "Error message explaining the result" }, "suggestedAction": { "$ref": "#/components/schemas/suggested-action" }, "totalErrorsCount": { "type": "integer", "description": "Number of errors in the report" }, "totalWarningsCount": { "type": "integer", "description": "Number of warnings in the report" }, "totalOtherIssuesCount": { "type": "integer", "description": "Number of other issues in the report" } }, "additionalProperties": false }
Was this page helpful?