Table of contents
Schedules
Download API definition:
This API is a Technical Preview and is available for testing purposes only. Do not use in production.
get https://dev-api.bentley.com/schedules/{scheduleId}/imports/microsoft-project/synchronizers/{synchronizerId}

Gets the Microsoft Project Import Synchronizer.

V10 Endpoint

This endpoint is only supported by v10 schedules. The schedule type can be identified by querying the /schedules/{scheduleId} endpoint.

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.

Rate limits

All iTwin Platform API operations have a rate limit. For more documentation on that visit Rate limits and quotas page.

Request parameters

Name
Required?
Description
scheduleId
Yes

The unique identifier of the Schedule.

synchronizerId
Yes

The unique identifier of Microsoft Project Synchronizer.

Request headers

Name
Required?
Description
If-None-Match
No

A header that makes the request conditional. If the ETag of the requested resource or resource collection matches the provided value, a 304 (Not Modified) response is returned. For more information see the official documentation.

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
{
    "synchronizer": {
        "deleted": false,
        "id": "c4e997a4-83e0-485b-b59c-13f210683f23",
        "originalProjectName": "Roads",
        "originalProjectPath": "C:\\documents\\roads",
        "originalSynchronizationTime": "2019-12-03T12:00:00.0000000+00:00",
        "originalSynchronizationType": "Import",
        "projectName": "Roads",
        "projectPath": "C:\\documents\\roads",
        "synchronizationDetails": {
            "created": {
                "calendars": 1,
                "resources": 4,
                "tasks": 11
            },
            "deleted": {
                "resources": 2,
                "tasks": 4
            },
            "updated": {
                "resources": 1,
                "tasks": 6
            },
            "warnings": [{
                "message": "Warning: Resource (UID=R2) was assigned to task (UID=T4) more than once, assignment (UID=A3) was ignored."
            }, {
                "message": "Warning: Resource (UID=R4) was assigned to task (UID=T11) more than once, assignment (UID=A6) was ignored."
            }]
        },
        "synchronizationTime": "2019-12-03T12:00:00.0000000+00:00",
        "synchronizationType": "Import",
        "synchronizerName": "Roads"
    }
}

Response headers

Name
Description
ETag

A header that identifies a specific version of a resource or resource collection. For more information see the official documentation.

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

This response indicates that the provided Synchronizer or Schedule is not available.

json
{
    "error": {
        "code": "ScheduleNotFound",
        "message": "Requested Schedule is not available.",
        "target": "scheduleId"
    }
}

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.

Error

Contains error information.

Name
Type
Description
code
String

One of a server-defined set of error codes.

target
String, null

The target of the error.

message
String

A human-readable representation 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.

Synchronization Type

Synchronization Type specifies if it was an import, export or synchronization.

Name
Type
Description
Import
String
Export
String
SynchronizeFrom
String
SynchronizeTo
String
Unknown
String

Synchronizer Logs Message

Synchronizer Logs Message.

Name
Type
Description
message
String

Log message of a Synchronizer Logs Message.

Synchronizer Write Logs Model

Synchronizer modification counts.

Name
Type
Description
links
Integer, null

The amount of Links modified.

risks
Integer, null

The amount of Risks modified.

tasks
Integer, null

The amount of Tasks modified.

calendars
Integer, null

The amount of Calenders modified.

companies
Integer, null

The amount of Companies modified.

costCodes
Integer, null

The amount of Cost Codes modified.

resources
Integer, null

The amount of Resources modified.

taskCosts
Integer, null

The amount of Task Costs modified.

userFields
Integer, null

The mount of User Fields modified.

activityCodes
Integer, null

The amount of Activity Codes modified.

resourceCodes
Integer, null

The amount of Resource Codes modified.

resourceRates
Integer, null

The amount of Resource Rates modified.

taskCategories
Integer, null

The amount of Task Categories modified.

userFieldValues
Integer, null

The mount of User Field Values modified.

activityCodeValues
Integer, null

The amount of Activity Code Values modified.

resourceCodeValues
Integer, null

The amount of Resource Code Values modified.

resourceAssignments
Integer, null

The amount of Resource Assignments modified.

activityCodeValuesAssignments
Integer, null

The mount of Activity Code Values Assignments modified.

resourceCodeValuesAssignments
Integer, null

The amount of Resource Code Values Assignments modified.

Synchronizer Expanded Data Model

Expanded details of a Synchronizer.

Name
Type
Description
warnings

Warnings that occurred during last Synchronization.

Microsoft Project Synchronizer

Representation of a Microsoft Project Synchronizer.

Name
Type
Description
id
String

The unique identifier of the Synchronizer.

deleted
Boolean, null

Is this Synchronizer deleted.

projectName
String

The name of the project.

projectPath
String

The path of the project.

synchronizerName
String

The name of the Synchronizer.

originalProjectName
String

The name of the initial import project.

originalProjectPath
String

The path of the initial import project.

synchronizationTime
Date-time

The date on which the synchronization occurred.

synchronizationType
synchronizationDetails
originalSynchronizationTime
Date-time

The date on which the initial import occurred.

originalSynchronizationType

Microsoft Project Synchronizer Response

Container for Microsoft Project Synchronizer object.

Name
Type
Description

Was this page helpful?