Configuring Primitive Arrays in Server Script
When you create a PropertySet for a primitive array in a server script, you must set the
datatype property to jsonprimarray.
var accPS = TheApplication().NewPropertySet();
accPS.SetProperty("datatype", "jsonprimarray");
This property is required for Event Publication Subscription to process primitive arrays in the payload.
You do not need to set this property when an external application sends a payload that contains a primitive array.