Hi,
I have encountered this error when I try to provide the “fileReferenceID” to the curl “Create Algorithm” in my bash script.
{“errorMessage”:”Input error: unable to convert input to com.dmsuite.swagger.model.Algorithm”}
The curl in consideration is this:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization:'$AUTHID -d '{"algorithmName": "Cap","algorithmType": "LOOKUP","fileReferenceID":'$IDFILE'}' '
http://'$ip_port'/masking/api/algorithms'
I take the “fileReferenceID” from the curl “Upload File” that I perform previously.
Thank you,
Regards.
#Masking