Comments (4)
Unfortunately there is actually no way to update an individual answer.
I just read the doc https://odkcentral.docs.apiary.io/#reference/submissions/submissions/updating-submission-data and saw that was possible.
To create a method that update an answer it will be necessary to have a deprecatedID
and the instanceID
. Unless you send the whole xml as body :
<data id=\"simple\">
<orx:meta>
<orx:deprecatedID>uuid:315c2f74-c8fc-4606-ae3f-22f8983e441e</orx:deprecatedID>
<orx:instanceID>uuid:85cb9aff-005e-4edd-9739-dc9c1a829c44</orx:instanceID>
</orx:meta>
<name>Alice</name>
<age>36</age>
</data>
I'll try figure out to implement this in a next version.
from laravel-odk.
Thank you. It will be a great feature to have.
Will be waiting for the next version.
from laravel-odk.
@mchev I have tried to do the XML update. But couldn't succeed. Any idea or roadmap to include the feature in this component? This update feature shall be the utmost required. Please help.
from laravel-odk.
https://docs.getodk.org/central-submissions/#submission-editing
from laravel-odk.
Related Issues (8)
- Error while using the $submissions = $odk->projects($projectId)->forms($xmlFormId)->submissions()->get(); HOT 15
- API login successful even with wrong account credentials HOT 2
- Fields schema HOT 1
- Error exception while using OdkCentral::projects HOT 4
- unable to view and edit submissions using the APIs HOT 2
- error while using odata function HOT 1
- Installation failing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-odk.