AF Element Template
AF-Element-Template-Update
Inputs
PISystem string
The server name.
Database string
The database name.
Name string
The name of the template
Security string
Security privileges can be added for the element. If no privileges are added (null or empty string), the parent element's will be the default.
Description string
Describe the what the template is used for.
Categories string
Categories of the template
Type string
AnyThis type only allowed when setting the allowed element types for connection port. This type cannot be used when setting the type of an element.
NoneThe element type is not defined. This is the default value for new element templates
Other The element type is something other than one of the system-defined types. This type is to be used when one of the other system-defined types is not adequate.
NodeThe type of the element is a Node
MeasurementThe type of the element is a Measurement. A measurement is normally used for an element which is used to measure values of another element
FlowThe type of the element is a Flow. A flow is normally used to represent the flow of material or information between two elements.
TransferThe type of the element is a special kind of a time-based flow which is called a Transfer.
BoundaryThe type of the element is a Boundary. Elements of this type do not usually participate in any model analysis and are considered boundaries to the model.
PIPointThe type of the element is a PIPoint. Elements of this type are used to represent a PIPoint in a PIServer as an OSIsoft.AF.Asset.AFElement. User's should not create elements with this type.
NamingPattern string
BaseTemplate string The parent template AllowElementToExtend string Allow elements from the template to either have to use the same values or have seperate values. (true or false)
Payload Example
{
"PISystem": "DEVMACHINE",
"Database": "Test",
"Name": "Testname1",
"Description": "",
"Type": "None",
"NamingPattern": "",
"BaseTemplate": "",
"AllowElementToExtend": true,
"Categories": []
}