I'm attempting to use batch requests to find the enumeration values of all attributes of an element.
Since not all the attributes are enumerations, the length of the enumeration values response doesn't match the number of attributes.
Is there a way of returning an error response for attributes which don't have an enumeration values link so that the number of attributes and enumeration values responses match?
Example batch request:
{ "0": { "Method": "GET", "Resource": "https://pi-server/piwebapi/elements/element-web-id/attributes }, "1": { "Method": "GET", "RequestTemplate": { "Resource": "$.0.Content.Items[*].Links.EnumerationValues" }, "ParentIds": [ "0" ] } }