Hi,
we want to know if is possible to call a Job Execution sending information as a json in the body of the call.
Thanks.
Hi @Luisghgfhdfvcbc,
The example in the API doc has JSON in the body. You can find an additional example in Step 5 of this use case from GitHub.
Join us for SAS Community Trivia
SAS Bowl XLII, SAS Hackathon 2024
Wednesday, August 14, 2024, at 10 a.m. ET | #SASBowl
Hi @joeFurbee ,
thanks for your help.
Our point is, a customer application would call our job execution and they only are able to send information in the body of the call. We can't use parameters or form to call the web service.
Regards.
Not exactly what you asked, but the SASJobExecution webapp can also be used to run jobs with JSON data -
https://documentation.sas.com/doc/en/jobexeccdc/v_004/jobexecug/n0xd9wl7kwpg1nn1v9z3kpfslw9s.htm
HI @DeMer ,
thanks for your reply.
our problem is how the customer would call our job execution. Their application is only able to send information in the body of the call.
Regards.
The example on the doc page shows how to do a HTTP Post from JavaScript. I believe if you do any other kind of non-form Post request to /SASJobExecution, any data in the body ends up looking like a file upload to the job.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: