You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Passing file name while using rest API to run data load rule

Accepted answer
53
Views
6
Comments

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"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!