Request

Response

    Migrating from V2 to V3

    Upgrading to Version 3 of the Manufacturing Data API brings significant improvements and changes. This guide provides step-by-step instructions to help you update your integrations and ensure a smooth transition.

    API Endpoint Changes

    The API endpoints have been updated in Version 3. Please update your integrations to use the new endpoint:

    Key Changes and Migration Steps

    Below are the major changes introduced in Version 3 and the steps required to migrate your existing integrations.

    Change 1: Time-Based Data Model

    What’s New:

    Version 3 introduces a time-based data model. Instead of accessing objects by version (for example, componentVersion or drawingVersion), you now retrieve objects as they existed at a specific point in time using a time parameter.

    Migration Steps:

    • Remove usage of componentVersion and drawingVersion.
    • Use the time argument on component or drawing queries to retrieve the object’s state at a specific timestamp.

    Before:

    query GetComponentVersion($componentVersionId: ID!) {
      componentVersion(componentVersionId: $componentVersionId) {
        name
      }
    }
    

    After:

    query GetComponentAtTime($componentId: ID!, $time: DateTime!) {
      component(componentId: $componentId, time: $time) {
        name
      }
    }
    

    Change 2: Removal of ComponentVersion and DrawingVersion Types

    The ComponentVersion object has been removed from v3. Its fields have been moved to the Component and Model objects.

    ComponentVersion fields now available in Component:

    Field NameTypeNotes
    name Property! Now returns a Property object instead of a String
    partNumber Property! Now returns a Property object instead of a String
    description Property! Was partDescription, now description
    materialName Property! Now returns a Property object instead of a String
    baseProperties Properties Unchanged
    customProperties Properties Unchanged
    thumbnail Thumbnail Unchanged

    ComponentVersion fields now available in Model:

    Field NameTypeNotes
    name Property! Now returns a Property object instead of a String
    materialName Property! Now returns a Property object instead of a String
    physicalProperties PhysicalProperties Unchanged
    isConfiguration Boolean! Now non-nullable (Boolean!)
    isRoot Boolean! Now non-nullable (Boolean!)
    thumbnail Thumbnail Unchanged

    The DrawingVersion type has also been removed from v3. Its fields have been moved to the Drawing object.

    Migration Steps:

    • Remove any fields referencing ComponentVersion or DrawingVersion.
    • Refactor queries to use component, model, or drawing.

    Before:

    query GetComponentVersion($componentVersionId: ID!) {
       componentVersion(componentVersionId: $componentVersionId) {
         materialName
       }
     }
    

    After:

    query GetModel($modelId: ID!) {
       model(modelId: $modelId) {
         materialName {
             value
         }
       }
     }
    

    Change 3: Custom Property Type Updates

    What’s New: The dynamic and dynamicAtVersion property types have been removed. All dynamic properties have been migrated to a unified property model.

    Migration Steps:

    • Remove references to dynamic and dynamicAtVersion property types.
    • Update your queries and data handling to use the new property model.

    Change 4: name Attribute is Now a Property Object

    What’s New: The name attribute in several objects is no longer a string. It is now a Property object.

    Migration Steps:

    • Replace direct access to name with name.value.

    Before:

    model {
      name
    }
    

    After:

    model {
      name {
        value
      }
    }
    

    Other Notable Changes

    • Deprecated fields have been removed or renamed for clarity and consistency.
    • Field names have been aligned across objects.

    Testing and Validation

    • Use the MFG Data Model Explorer to test your updated queries and mutations.
    • Validate your integration against the new schema to catch any breaking changes early.

    Additional Resources

    If you encounter any challenges during migration, please reach out to our support team for personalized assistance.

     
    ______
    icon-svg-close-thick

    Cookie preferences

    Your privacy is important to us and so is an optimal experience. To help us customize information and build applications, we collect data about your use of this site.

    May we collect and use your data?

    Learn more about the Third Party Services we use and our Privacy Statement.

    Strictly necessary – required for our site to work and to provide services to you

    These cookies allow us to record your preferences or login information, respond to your requests or fulfill items in your shopping cart.

    Improve your experience – allows us to show you what is relevant to you

    These cookies enable us to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we use to deliver information and experiences tailored to you. If you do not allow these cookies, some or all of these services may not be available for you.

    Customize your advertising – permits us to offer targeted advertising to you

    These cookies collect data about you based on your activities and interests in order to show you relevant ads and to track effectiveness. By collecting this data, the ads you see will be more tailored to your interests. If you do not allow these cookies, you will experience less targeted advertising.

    icon-svg-close-thick

    THIRD PARTY SERVICES

    Learn more about the Third-Party Services we use in each category, and how we use the data we collect from you online.

    icon-svg-hide-thick

    icon-svg-show-thick

    Strictly necessary – required for our site to work and to provide services to you

    Qualtrics
    W
    Akamai mPulse
    W
    Digital River
    W
    Dynatrace
    W
    Khoros
    W
    Launch Darkly
    W
    New Relic
    W
    Salesforce Live Agent
    W
    Wistia
    W
    Tealium
    W
    Upsellit
    W
    CJ Affiliates
    W
    Commission Factory
    W
    Google Analytics (Strictly Necessary)
    W
    Typepad Stats
    W
    Geo Targetly
    W
    SpeedCurve
    W
    Qualified
    #

    icon-svg-hide-thick

    icon-svg-show-thick

    Improve your experience – allows us to show you what is relevant to you

    Google Optimize
    W
    ClickTale
    W
    OneSignal
    W
    Optimizely
    W
    Amplitude
    W
    Snowplow
    W
    UserVoice
    W
    Clearbit
    #
    YouTube
    #

    icon-svg-hide-thick

    icon-svg-show-thick

    Customize your advertising – permits us to offer targeted advertising to you

    Adobe Analytics
    W
    Google Analytics (Web Analytics)
    W
    AdWords
    W
    Marketo
    W
    Doubleclick
    W
    HubSpot
    W
    Twitter
    W
    Facebook
    W
    LinkedIn
    W
    Yahoo! Japan
    W
    Naver
    W
    Quantcast
    W
    Call Tracking
    W
    Wunderkind
    W
    ADC Media
    W
    AgrantSEM
    W
    Bidtellect
    W
    Bing
    W
    G2Crowd
    W
    NMPI Display
    W
    VK
    W
    Adobe Target
    W
    Google Analytics (Advertising)
    W
    Trendkite
    W
    Hotjar
    W
    6 Sense
    W
    Terminus
    W
    StackAdapt
    W
    The Trade Desk
    W
    RollWorks
    W

    Are you sure you want a less customized experience?

    We can access your data only if you select "yes" for the categories on the previous screen. This lets us tailor our marketing so that it's more relevant for you. You can change your settings at any time by visiting our privacy statement

    Your experience. Your choice.

    We care about your privacy. The data we collect helps us understand how you use our products, what information you might be interested in, and what we can improve to make your engagement with Autodesk more rewarding.

    May we collect and use your data to tailor your experience?

    Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.