Closed rbhalla81 closed 3 years ago
For your information, the issues section is not intended to assist people with usage, but to report errors in the code or version problems. You can always improve this package while creating a pull request.
As described, this package is only a wrapper of the api, so refer to the ODK Central Api doc to find what you need : https://odkcentral.docs.apiary.io/#reference/submissions/submissions
If you want to get or download the xml, just add ->download() method at the end of your request.
Thanks for the response. Noted your point.
I have tried using
$submissions = OdkCentral::projects($projectId)->forms($formId)->submissions()->get();
but this just returns the metadata. Unable to retrieve the submission to view on the blade/laravel view.
Also, tried using the
$submissionsmeta = OdkCentral::projects($projectId)->forms($xmlFormId)->submissions($instanceId)->xml();
This only returns a token.} But unable to download or edit the submissions/ responses.
Please help & guide.