[Loris-dev] LORIS jason API for CANDIDATE creation - leading to incorrect PROJECT entry
István Ákos Mórocz
istvan.morocz at mcgill.ca
Fri Jul 14 15:42:45 EDT 2017
dear LORIS developers,
we try to insert new CANDIDATES into LORIS via its API, either with
jason scripts or jason strings included in the curl call. example:
cat /var/www/IPMSA/Loris/newCand.json
{
"Candidate" : {
"Project" : "BRAVO",
"PSCID" : "xSVwx1At",
"EDC" : "1971-01-01",
"DoB" : "1981-01-01",
"Gender" : "Female"
}
}
the problem is that nor in the LORIS GUI nor in the mySQL database is
our Project entry 'BRAVO' found. it simply defaults to ProjectID 1.
is there a way to adjust this PROJECT at a later stage via the LORIS
API and jason PUT calls ? we also intend to adjust the same way many
other fields such as SUBPROJECT (or COHORT) and more.
specs : LORIS 17.0.5 on mini-Ubuntu/Xenial 16.04 VM and VirtualBox
thanks for looking into this, bye, pisti
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._
'
: http://noisis.com
` istvan.morocz at noisis.com
: +1-514-927-1169
: istvan.morocz at mcgill.ca
: http://cafe.spl.harvard.edu
, http://www.pistikem.org
: pistikem at gmail.com
.
`~*-,._.,-*~'`^`'~*-,._.,-*~'`"
More information about the Loris-dev
mailing list