put https://{base_url}/core/api/v2/participants/participant-types//config/state-machine
This API is for updating the current state-machine configuration (states, sub-states and state transition rules) of a participant type specified by participantTypeName. For each non-terminal sub-state, at least one state transition rule is expected.
Transition rule comprises of:
- Event Code
- Destination State or Sub-State. If destination state is mentioned then the default sub-state of that state is considered as the destination sub-state.
- Reason Code
Important: The state machine cannot be partially updated.