Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Custom API - post Method — Cloud Customer Connect
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

Custom API - post Method

Received Response
22
Views
27
Comments
edited Mar 23, 2017 7:00AM in Digital Assistant and Mobile 27 comments

Summary

Custom API - post Method

Content

Hi,

I created a custom API which has an endpoint with POST method to call a connector API ( connects to EBS R12). Here is the code I am using

service.post('/mobile/custom/ExpenseHeaderDetCust/HeaderDet', function (req, res) {

  console.log('getting ready to call POST /mobile/custom/ExpenseHeaderDetCust/HeaderDet');

  var sdk = req.oracleMobile;

  var optionList = {

  //uri: '/mobile/connector/ExpenseHeaderDetails'

  };

  var jsnObj = {

  Body: {

  "ExpenseCount": {

  "@xmlns": "http://vis1225.dpebs-server.com:8000/webservices/rest/ExpenseCount/get_smart_exp_cnt_dtls_f",

  "RESTHeader": {

  "xmlns": "http://vis1225.dpebs-server.com:8000/webservices/rest/ExpenseCount/header",

  "Responsibility": "SYSTEM_ADMINISTRATOR",

  "RespApplication": "SYSADMIN",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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