Skip to main content
1-Visitor
July 1, 2025
Question

根据分类属性内部名称+分类属性值查询物料信息的OData REST APIs、REST APIs有哪

  • July 1, 2025
  • 1 reply
  • 198 views
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.4

根据分类属性内部名称+分类属性值查询物料信息的OData REST APIs、REST APIs有哪些? $filter 的构造条件怎么实现。

Here are the errors that I faced
{
"error": {
"code": null,
"message": "The property 'Attributes', used in a query expression, is not defined in type 'PTC.ProdMgmt.Part'."
}
}

    1 reply

    Catalina
    Community Moderator
    July 1, 2025

    Hi @QQ_13728929 

     

    Thank you for your question! 

     

    I’d like to recommend to bring more details and context to your initial inquiry. For example:

    • Have you confirmed that the classification attributes you're trying to filter by are exposed in the OData metadata ($metadata) for the entity you're querying?
    • Are you querying PTC.ProdMgmt.Part or a different entity set, and does that entity support classification attributes directly?

    Please add screenshot(s) to better understand what you are trying to do in your process. 

     

    Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

    This will increase your chances to receive meaningful help from other Community members. 

     

    Here's what a good question for Windchill looks like. 

     

    Thank you for your participation and please let me know if you need further assistance! 

     

    Best regards,

    Catalina | PTC Community Moderator