Create enumeration schema definitions
- Last UpdatedApr 15, 2025
- 1 minute read
Use this process to create the following enumeration definitions.
-
ProcedureInstanceState
-
ProcedureNodeAnswerStatusEnum
-
TransmittedProcedureStatus
-
TransmittedStreamStatus
To create the enumeration 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 entire JSON text in the Body field. The ProcedureInstanceState JSON example is shown below.
{
"Name": "ProcedureInstanceState",
"Id": "ProcedureInstanceState",
"State": "Active",
"Members": [
{
"Name": "New",
"Code": 1,
"State": "Active"
},
{
"Name": "InProgress",
"Code": 2,
"State": "Active"
},
{
"Name": "Completed",
"Code": 3,
"State": "Active"
},
{
"Name": "Paused",
"Code": 4,
"State": "Active"
}
]
}
-
In the URI field, type /Enumerations/ at the end of the existing text, then add the text from the "Id" field of the schema.
-
Select the POST button.