Rest API: Type is not defined for Scalar typed attributes #1442
-
|
Hello, we use sysnon rest api to get elements with some scalar defined attributes. AttributeUsage and FeatureTyping elements for the attributes are returned. However, it is not possible to detect a type of the attributes' usages. For example, type Integer for the following attribute weight is defined: part 'Data loss' : RiskAssesmentLibrary::Risk { in response for the attribute we get AttributeUsage without a type: { Are there any options to find a type of an attribute? Thank you in advance for your response. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello, Thank you for using SysON. Regards, |
Beta Was this translation helpful? Give feedback.
Hello,
Thank you for using SysON.
We don't serialize Ids of elements coming from standard libraries (Integer is coming from the standard library ScalarValues), that's why your "type" reference is empty here.
We will try to fix that in a future release, but I can't say which one at this point.
I will open a ticket to trace the problem.
Regards,