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

How to Run Integration Job using API Rest with a Python Script

Received Response
52
Views
2
Comments

Summary:

Hi,

I want to run an integration job using Oracle REST API using Python. I've tried the followind parameters but I get an 400 Error Code:

I want to Run the Job named DATALOAD_COMPTA_AMAP

END_POINT: https://${myInstance}-epm.em2.oraclecloud.com/HyperionPlanning/rest/v3/applications/${MyApp}/jobs

payload = { "jobType":"INTEGRATION",

"jobName":jobName,

"periodName":"{Mar-20}",

"importMode":"Replace",

"exportMode":"Merge",

"sourceFilters":{

"Integration":"AMAP"

}

}

response = requests.post(SERVICE_ENDPOINT,auth=HTTPBasicAuth(uname,password), headers = headers, json=payload)

I finally GET the following JSON Response:

Response [400]

I don't see where is the problem. Cloud you help me ?

Content (required):


Version (include the version you are using, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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