Passing file name while using rest API to run data load rule
Summary:
I am running the data load rule using rest API functionality but while giving the file path it is giving an error mentioning "File or directory does not exist" although the file does exist in the directory, can anyone please help with this?
Code Snippet (add any code snippets that support your topic, if applicable):
$body ="{ ""jobType"":""INTEGRATION"", ""jobName"":""$loadRule"", ""periodName"":""{$startPeriod1}{$endPeriod1}"", ""importMode"":""REPLACE"", ""exportMode"":""NONE"", ""fileName"":""$filepath"" }"
I am passing the value for filepath which is something like this "inbox/LOC_SAP_PRJ/AME_MAY-2023.csv"
Tagged:
0