Reality Conversion
Download API definition:
This API is a Technical Preview and is available for testing purposes only. Do not use in production.
GET https://api.bentley.com/realityconversion/jobs/{id}

Retrieve job details.

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

Name
Required?
Description
id
Yes

Job Id.

Request headers

Name
Required?
Description
Authorization
Yes

OAuth access token with itwin-platform scope

Accept
Yes

Setting to application/vnd.bentley.itwin-platform.v1+json is recommended.

Response 200 OK

OK

json
{
    "job": {
        "id": "cc3d35cc-416a-4262-9714-b359da70b419",
        "name": "My first RCS job",
        "type": "Conversion",
        "state": "success",
        "createdDateTime": "2020-09-14T14:29:55Z",
        "lastModifiedDateTime": "2020-09-14T14:29:55Z",
        "iTwinId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "ownerId": "1bc8fd79-b72a-4165-b490-58e5244c4cda",
        "email": "email@example.com",
        "dataCenter": "East US",
        "executionInformation": {
            "submissionDateTime": "2020-09-14T14:34:20Z",
            "startedDateTime": "2020-09-14T14:34:28Z",
            "endedDateTime": "2020-09-14T14:41:49Z",
            "estimatedUnits": 0.05
        },
        "inputs": [{
            "id": "58e0c0ca-f730-4e5b-808d-1c8cacacb4d4",
            "type": "LAS"
        }],
        "outputs": [{
            "id": "3ddee08c-01e8-44a5-8e56-3879109f6728",
            "type": "OPC"
        }],
        "options": {
            "processingEngines": 5,
            "merge": false
        },
        "costEstimation": {
            "estimatedCost": 3.5,
            "gigaPixels": 2.1,
            "megaPoints": 1.5
        }
    }
}

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.

json
{
    "error": {
        "code": "HeaderNotFound",
        "message": "Header Authorization was not found in the request. Access denied."
    }
}

Response 404 Not Found

Not Found

json
{
    "error": {
        "code": "JobNotFound",
        "message": "Requested job is not available."
    }
}

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.

json
{
    "error": {
        "code": "RateLimitExceeded",
        "message": "The client sent more requests than allowed by this API for the current tier of the client."
    }
}

Response headers

Name
Description
retry-after

Number of seconds to wait until client is allowed to make more requests.

Cost Estimation information

Cost estimate based on parameters before job processing

Name
Type
Description
gigaPixels
Double, null

Number of giga pixels in inputs

megaPoints
Double, null

Number of mega points in inputs

estimatedCost
Double

Estimated Cost of the job using the CostEstimationParameters

Execution Info

Execution information of the job

Name
Type
Description
submissionDateTime
Date-time

Submission time of the job

startedDateTime
Date-time, null

Start time of the job

endedDateTime
Date-time, null

End time of the job

estimatedUnits
Number, null

Estimated processing units cost

Job type

Job type

Name
Type
Description
Conversion
String

Job state

Job current state

Name
Type
Description
unsubmitted
String
active
String
success
String
failed
String
cancelled
String

Job

Job information

Name
Type
Description
id
String

Job unique id

name
String

Job name

Job type

Job type

Job state

Job current state

iTwinId
String

iTwin Id

ownerId
String

owner Id

createdDateTime
Date-time

Creation time of the job

lastModifiedDateTime
Date-time

Last modification date of the job

dataCenter
String

Datacenter location of the job

email
String

User email address

executionInformation

Execution information of the job

costEstimation

Parameters to be used to estimate the cost of the job

inputs

List of inputs of the job

outputs

List of outputs of a job

options

List of optional parameters to create job

Job response

Name
Type
Description
job

Complete job details

Job Input type

Input type for a job. Possible values SHOULD be among LAS, LAZ, PLY or E57.

Name
Type
Description
LAS
String
LAZ
String
PLY
String
E57
String

Job Input

Input description for a job.

Name
Type
Description
Job Input type

Input type for a job. Possible values SHOULD be among LAS, LAZ, PLY or E57.

id
String

Id of the input.

Job Output type

Output format for a job. Possible value is OPC or PNTS.

Name
Type
Description
OPC
String
PNTS
String

Job Output

Output description for a job.

Name
Type
Description
Job Output type

Output format for a job. Possible value is OPC or PNTS.

id
String, null

Id of the input.

Options

List of optional parameters to create job

Name
Type
Description
processingEngines
Integer

Number of engines to be used at most, between 0 and your engine limit. If set at 0, RCS will use your engine limit.

merge
Boolean

If true, then all the input files from multiple containers will be merged into one output file. Else output file will be created per input file.

Error

Contains error information.

Name
Type
Description
code
String

One of a server-defined set of error codes.

message
String

A human-readable representation of the error.

target
String, null

The target of the error.

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.

Name
Type
Description
error

Error information.

Was this page helpful?