Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception raised when trying to get the submissions by form id #6

Open
kaveiros opened this issue Feb 18, 2016 · 2 comments
Open

Exception raised when trying to get the submissions by form id #6

kaveiros opened this issue Feb 18, 2016 · 2 comments

Comments

@kaveiros
Copy link

$jotformAPI = new JotForm($apikey); $formSubmissions= $jotformAPI->getFormSubmissions($formID);

and I get this exception:
exception 'JotFormException' with message 'Requested URL (/v1/form/submissions) is not available!' in /Library/HTTPServer/htdocs/JotForm/JotForm.php:118

Also when you try the same call using curl there is a message 404.

{ "responseCode": 404, "message": "Requested URL (/form/{id}/submissions) is not available!", "info": "http://api.jotform.com/docs", "limit-left": 9989, "duration": "14ms" }

Can you fix that please?

Also is there a way to get xml as response instead of JSON?

@elifceren
Copy link
Contributor

I've checked GET /form/{id}/submissions endpoint, it's working without any problem. Could you please check your formID and apiKey?

If you can provide us your formID, we can assist you better.

Also, it's possible to fetch your form responses in XML format. In order to do this, please pass outputType parameter as "xml" to constructor. It's default is JSON.

@kaveiros
Copy link
Author

Hi, the form id is 53263737388365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants