Unapprove interviews using Survey Solutions API client for Stata

Hi Sergiy,
I tried to unapprove interviews using Survey Solutions API client for Stata with the following syntax:
.sse.interviews_unapprove “c57858c2b7da4fa38a19d9ec6ec10bb4”
Here is the error message that appears after runing the syntax:
interviews_unapprove “c57858c2b7da4fa38a19d9ec6ec10bb4”: class member function not found

I looked at the user manual, but I can’t identify the problem.
Please, could you help me to fix this issue?

Thanks a lot

@somson4, thank you for reporting the problem. The documentation file incorrectly lists the method name as “interviews_unapprove”. The correct spelling of the method name is “interviews_hqunapprove”. This should match the API endpoint name declared in the Swagger docs.

I will fix the typo in the docs.

1 Like

Dear Sergiy,
Thanks a lot for your answer. This is well noted. I tried with “interviews_hqunapprove” and it’s fine.
Many thanks.

Thank you for confirming!

Please do let me know if you encounter any other issue with the Survey Solutions API client for Stata.

Best, Sergiy

1 Like