Create event type schema definitions
- Last UpdatedApr 15, 2025
- 1 minute read
Use this process to create the noted event type definitions in the following order:
-
ProcedureInstance
-
TransmittedProcedure
-
TransmittedTask
-
TransmittedTaskGroup
To create the event type definitions, perform the following steps:
-
In the left pane of CONNECT data services, select Developer Tools, then select API Console.
-
Select v1 in the Full Path dropdown.
-
Select POST in the Verb dropdown.
-
In the URI field, type / at the end of the existing text, then select your desired Namespace.
-
Copy, then paste the JSON text in the Body field. See the ProcedureInstance text example below.
{
"Name": "ProcedureInstance",
"Id": "ProcedureInstance",
"State": "Active",
"Properties": [
{
"PropertyTypeCode": "Asset",
"Id": "asset",
"Name": "asset",
"Flags": "NoReverseLookup, Indexed",
"State": "Active",
"Description": "The asset associated with the resource"
},
{
"PropertyTypeCode": "String",
"Id": "releasedRevisionId",
"Name": "releasedRevisionId",
"Flags": "None",
"State": "Active",
"PropertyTypeId": ""
},
{
"PropertyTypeCode": "Enumeration",
"Id": "instanceState",
"Name": "instanceState",
"Flags": "None",
"State": "Active",
"PropertyTypeId": "ProcedureInstanceState"
}
]
}
-
In the URI field, type /EventTypes/ at the end of the existing text, then add the text from the "Id" field of the schema.
-
Select the POST button.
Repeat the steps above to create and post each event type definition.