Edit Submissions or Include Enketo Edit URL in iframe

As we can not update the submissions using an API. Trying to give a dynamic edit URL of enketo.

But, it doesn't work.

Any solution to update submissions using an API or odata?

Central v1.2 supports data editing via UI and API.

https://odkcentral.docs.apiary.io/#reference/submissions/submissions/updating-submission-data

Thanks @yanokwa

I'm trying to update XML. Can you please guide on generation of "deprecatedID"

Also, is there any PHP update sample code?

deprecatedId is a concatenation of "uuid:" and a random RFC 4122 version 4 compliant UUID. This is documented at https://getodk.github.io/xforms-spec/#metadata.