简体   繁体   English

Surveymonkey get_survey_details状态

[英]Surveymonkey get_survey_details Status

I am wondering what the status actually means in the API call get_survey_details? 我想知道状态在API调用get_survey_details中实际上意味着什么? I was thinking that this was an active / inactive / error type status but I don't think that is the case anymore. 我以为这是活动/非活动/错误类型状态,但我认为情况不再如此。 I have closed a collector on the survey so that no response's would be gathered and I am still getting status:0. 我已关闭调查中的一位收集器,因此不会收集到任何答复,并且我仍然处于状态:0。 We are looking for a way of knowing from our own internal app that if a survey is active or inactive and I am not sure how to do this from the SM API. 我们正在寻找一种从我们自己的内部应用程序中了解调查是处于活动状态还是非活动状态的方法,并且我不确定如何通过SM API进行此操作。 Anyone out there doing something similar or know how to accomplish this? 是否有人在做类似的事情或知道如何做到这一点?

Thanks in advance! 提前致谢!

"status":0 is the error code status, ie no error occurred in calling the API. “状态”:0是错误代码状态,即调用API时未发生错误。

Surveys can't be open or closed - just collectors can. 调查不能公开或封闭-只有收藏家可以。 If you call get_collector_list it has a field you can request called "open", which will return a boolean on whether a collector is open or not. 如果调用get_collector_list,则它具有一个可以请求称为“ open”的字段,该字段将返回有关收集器是否打开的布尔值。 You can check if any responses are being collected by requesting the list - if there are no collectors with "open":True then the survey is effectively closed. 您可以通过请求列表来检查是否正在收集任何响应-如果没有“ open”:True的收集器,则正确关闭了调查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM