Skip to content

Generate Next Record Name#107

Merged
sburns merged 3 commits intoredcap-tools:masterfrom
martinburchell:generate-next-record-name-api
Dec 18, 2019
Merged

Generate Next Record Name#107
sburns merged 3 commits intoredcap-tools:masterfrom
martinburchell:generate-next-record-name-api

Conversation

@martinburchell
Copy link
Copy Markdown
Contributor

I've added support for the Generate Next Record Name API call
redcap-api-generate-next-record-name

@sburns
Copy link
Copy Markdown
Collaborator

sburns commented Dec 17, 2019

Is their idea for clients to POST and get a new record ID, use it for the next POST that creates a new record? That's a lot of requests but I'm not running their servers so...shrug?

@martinburchell
Copy link
Copy Markdown
Contributor Author

@sburns I think this is only necessary if you have record autonumbering disabled on the REDCap side. We're supporting export to REDCap from another system (https://github.com/RudolfCardinal/camcops) and don't want to make assumptions about how REDCap is configured.

Some other bits of the REDCap API are vulnerable to race conditions.

@sburns sburns merged commit 50c60ad into redcap-tools:master Dec 18, 2019
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

Successfully merging this pull request may close these issues.

2 participants