Call MSSQL stored procedure with user defined table type
I am attempting to pass a user-defined table type to a stored procedure as an input parameter from within a Thingworx service. I've created the stored procedure, user-defined table type and data shape (fields matching the naming and casing of the table type). I've tested the stored procedure from within SQL and it works as expected. However, when trying to call from a service, I get the following error:
Unable to Invoke Service UpdateMachineDowntime on MsSqlOpcaThing : null
The service is set to call as a SQL Query, there is a single input parameter (named Data) configured as an INFOTABLE with the data shape I created, and the text of the call is:
EXEC spUpdateMachineDowntime [[Data]]
Has anyone had any success with this before? I'm concerned this may not be doable.

