diff --git a/README.md b/README.md index dbb22da..2c88e12 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # API to allow usage of the RedCap Randomization from plugins +## Help + +The help page can be viewed by accessing https://localhost/api/?type=module&prefix=Randapi&page=api&pid=20&NOAUTH + ## Randomization Test A test for this API was written in testrandomization.php. diff --git a/help.php b/help.php index 3753a52..9e64c6b 100644 --- a/help.php +++ b/help.php @@ -23,7 +23,7 @@

Adds new records to the allocation table

parameters:

@@ -34,7 +34,7 @@ { "action":"addRecordsToAllocationTable", "parameters":{ - "rid":1, + "projectId":20, "project_status":0, "allocations":[ {"target_field":"A","source_fields":["1","2"]},