Update only field from a form associated to a record #97
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tranpl/redcap-api#97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
Is it possible to update some fields of an identified record using this API as i don't see an update method ?
Thanks
David
Yes, you can update any fields in any form for projects which the redcap api token has access using this api library. I believe there are some sample code for exporting and importing of the meta data (data dictionary) for individual projects. You then update the dictionary as needed and import back into REDCap.
This is the example from the RedcapApiDemo project in the source code.
var _uri = "http://localhost/redcap"; var redcap_api_2_0_0 = new RedcapApi(_uri); var ExportMetaDataAsyncResult = await redcap_api_2_0_0.ExportMetaDataAsync(_token, Content.MetaData, ReturnFormat.json, null, null, OnErrorFormat.json);