Error with Function in Recruit {"code":"4834","message":"Invalid Ticket Id"}
Error with Function in Recruit {"code":"4834","message":"Invalid Ticket Id"}
Trying to create a workflow in Recruit where a function updates the Candidates status.
But I keep getting this error
{"code":"4834","message":"Invalid Ticket Id"}
Code is below
cId = 52130900000xxxxxx;
response = invokeurl
[
url :"
https://recruit.zoho.com/recruit/v2/Candidates/"
+ cId.toString()
type :GET
connection:"zohorecruit"
];
info "response: " + response;
map = Map();
map.put("Candidate_Status", "Documents Received");
updateResp = zoho.recruit.updateRecord("Candidates", cId, map);
info updateResp;
responseFinal = invokeurl
[
url :"
https://recruit.zoho.com/recruit/v2/Candidates/"
+ cId.toString()
type :PUT
parameters:map.toString()
connection:"zohorecruit"
];
info responseFinal;