How to parse JSON data using REST POST format
I was able to create service for REST and the GET operations.
Using what I know I can pass variables to the Manager but I would like to know if someone can give an overview by creating REST and POST and process json data.
Thank you
You can use the following documents to understand how to create GET and POST REST of service operations. There are examples and step by step instructions.
E - IB: how to create and access a simple REST based Web Services? (Doc ID 1454887.1)
E - IB: example for PeopleSoft REST provider service (GET/POST methods) (Doc ID 1533318.1)
In regards to JSON, you can use Documents to represent the message in JSON format. You can also access/parse JSON data using the Document definition.
Management of Documents in JSON format
Thank you!
Tags: Oracle Applications
Similar Questions
-
How to parse RSS feeds using QML (waterfalls)?
Hallo native devs! I am a beginner in native development and I want to know how to parse RSS feeds using QML cascading?
I see the example like this:
Page { content: Container { background: Color.White ListView { rootIndexpath: [1] dataModel: XmlDataModel { source: "model.xml" } } } }
but, can I to ' source: ' use 'http://example.com/rss.xml'?
If Yes, how can I analyze?
Thanks for the help!
The QML in your message assumes that the XML file is local, if you use a remote XML file then you will need to firstly using a few backend Qt C++ network code, download, then you can use QML.
I would recommend from the Cascades sample quotes to get an idea of how XmlDataModel analysis work can start to look into the network access code and the file.
-
How to identify the fonts used in text format?
How to identify the fonts used in text format?
Hi DSB.
Open the document in Reader, go to the menu file-> properties, then click on the tag are. You will see a list of the fonts used in the document.
Another option is to copy the text and paste it into MS Word, where you can simply move your mouse over the text to display the name of the font.
Kind regards
Nicos
-
How to view clob data using sql
Hello
In our database we have a table that is to have a column of type CLOB but now I want to display the data using sql select query but it throws error: "unsupported data Type.
Could someone let me know how to view the clob data using the select query.
Oracle DB version: 10.2.0.3
Thank youuser562223 wrote:
HelloIn our database we have a table that is to have a column of type CLOB but now I want to display the data using sql select query but it throws error: "unsupported data Type.
Could someone let me know how to view the clob data using the select query.
Oracle DB version: 10.2.0.3
Thank you
Usually a to_char (CLOBDFIELD) circled
HTH,
FJFranken
-
How to display the data using "BOLD" model rtf
Hello frenz.
I need to display a particular column in bold letters or number in bold... How can I do this...Use
Can use a conditional formatting if, in a table -
How to recover the date in a specific format on button clicked?
I'm trying to update the date in a data template on a user clicks the button, but unfortunately the Date() function gives just a format long unncesseray. I want just the day/month/year (i.e. 10/09/2013). How to change the Date() function to achieve this?
Button { leftPadding: 30 rightPadding: 30 preferredWidth: 150 horizontalAlignment: HorizontalAlignment.Center imageSource: "asset:///images/ic_add.png" onClicked: { rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, Date(), parseInt(ListItemData.lat) + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl) } }
Thanks in advance. Solutions and love will see for those who help.
Kind regards
Brandon
I was actually able to find a workaround simpler. I just used objects attached within the key and attached to a date function:
Button { imageSource: "asset:///images/ic_add.png" onClicked: { rootItem.ListItem.view.getApp().updateObject(ListItemData.customerID, ListItemData.name, ListItemData.description, datefield3.text, parseInt(ListItemData.lat) + 1, ListItemData.lon, ListItemData.categorySelect, ListItemData.mapurl) } attachedObjects: [ Label { id: datefield3 text: { var today = new Date(); (today.getMonth() + 1) + "/" + today.getDate() + "/" + (today.getFullYear() - 2000); } } ] }
-
How to view mdsplus data using labview
I posted this question in the Council of Labview, but seems that nobody does it so far. I don't know what is the best place to ask this question. So I reposted here. Thank you very much.
I am a newbie to Labview. I'm writing a few vi to display and write data to Mdsplus. I downloaded Mdsplus(labview) can discover Mdsplus functions, like mdsconnect, mdsput, ect, in vi to call a library function. But I have no ideal how to use it. I tried to use the Mdsconnect function to connect to a machine, but it still gives me an error like: Labview: an exception occurred in the external code that is called by a call library function node... I was looking for help on the internet documents, but could not find anything useful. Could you please help me with this problem? If you have examples of these vi, or teach me how it, it would be very useful. I'm using Labview 8 (windows). I would appreciate your help! Looking forward for your reply.
Oops,
I attached properly in the previous post.
Greg
-
How to access json data assigned to a CF Web service
Hi all
I have an application of ExtJS which makes a call to a Coldfusion Web service and sends a json in the POST request object. In Firebug, I see the json object is posted, but I can't seem to access it in Coldfusion.
Anyone know how or if this is possible?
Thank you
Orla
Try to use getHttpRequestData () content
-
Hello, I have different types of json please guide me how to analyze this type of json. It is having json object.
[ { content: " ", title: "Bhagwan Shri Sathya Sai Baba blessed the manuscript of the book on 2nd January 2011 at Prashanti Nilayam, Puttaparthi, Andhra Pradesh", div: "div4", imgsection: "0", textsection: "0", images: [ "31aug_4.jpg" ] }, { content: " ", title: "Presenting the book to the senior members of the party on 30th August 2013 at the BJP party office, New Delhi", div: "div4", imgsection: "0", textsection: "0", images: [ "31aug_6ShriRajnathSinghji.jpg", "31aug_8ShriRamLalJi.jpg", "31aug_7AartiMehra.jpg", "31aug_9MahinderPandey.jpg", "31aug_10OmprakashDhankarji.jpg" ] }, { content: " ", title: "A picture of the foreword of the book, written by Shri Nitin Gatkari", div: "div4", imgsection: "0", textsection: "0", images: [ "1 sep_4.jpg" ] }, { content: " ", title: "Various Newspapers reporting about the book release.", div: "div4", imgsection: "0", textsection: "0", images: [ "1 sep_5.jpg", "1 sep_6.jpg", "1 sep_7.jpg", "1 sep_8.jpg", "1 sep_9.jpg", "1 sep_10.jpg", "1 sep_11.jpg", "1 sep_12.jpg" ] } ]
If it is a use table JSONArray. If it's an object use the JSONObject.
Identify the model? -
How to store/retrieve 'Date' using persistent data?
Hello everyone - this is my first post on the BlackBerry Support Forums. I'm trying to provide a lot of relevant information as possible, but if I miss anytihng or I did not understand by asking what I want, please let me know.
Background:
I use Eclipse IDE ver 3.5.0 and BlackBerry Java plug-in for Eclipse 1.1. I build my application for BlackBerry JRE 5.0.0.
Question:
I want to save a "Date" field for persistent data so that I can recover and display in the format of Date once again (no chain). Here's a more detailed explanation.
My application has three fields on the main screen. They are
'Name' - AutoTextEditField
"Gender" - ObjectChoiceField
"Date of birth" - DateField
Using persistent data to store the data entered into these fields, as described in the BlackBerry tutorials (http://na.blackberry.com/developers/resources/A13_Storing_Persistent_Data_V2.pdf), I am able to save and retrieve all of these areas, but only in 'Chain' format.
Unfortunately, this won't work for me for the following reason.
I create the Date of birth as follows
"dateOfBirthField = new DateField (" BirthDate: ", System.currentTimeMillis (), DateField.DATE" ");"
This creates an interface evolved for Date of birth, where the user can select and edit fields month, Date and year separately. When the user saves the information entered and wants to retirve it again, I want to display the date recorded in the same format so that the user can change again in exactly the same way as described above. But if I save it as a string, I can't fill in the field "Date" with the "chain" recovered. That is, I can't do something like
dateOfBirthField.setDate (info.getElement (StoreInfo.DOB));
Where "info.getElement (StoreInfo.DOB)" is similar to what is described in the tutorial.
I searched the web for a possible solution, but never found any. All I found to date stored as a string and recovered just to see what was saved, but not for the changes resulting.
Someone please let me know if what I am asking is possible. If Yes, can you please suggest a way to do it?
Thanks in advance.
Or it can store any object extra Long, no need to create garbage in chains.
Long I = new Long (1234556);
long x = i.longValue)
-
How to manage no data found in pdf format using the rtf output
Hello
In my rtf model, I have two frames - frame1 and frame2,
These frameworks are based on the G1 group. Group G1 features of elements empid, empname
My requirement is
1. to return frame1 when the query (i.e. group G1) has given, this frame1 would print out the pdf of the report xml editor - correct work
in the xml output, I saw that < LIST_G1 / > generates as below
< LIST_G1 >
< G1 >
< EMPID > 1234 < / EMPID >
JOHN < EMPNAME > < / EMPNAME >
< G1 >
< G1 >
< EMPID > 1235 < / EMPID >
BRAND of < EMPNAME > < / EMPNAME >
< G1 >
< G1 >
< EMPID > 1236 < / EMPID >
TONY < EMPNAME > < / EMPNAME >
< G1 >
< / LIST_G1 >
2 return frame2 whenever the request (i.e. the group G1) has no data this frame2 output print pdf of the xml editor saying no report given - would not exist currently working.
output is
< LIST_G1 >
< / LIST_G1 >
(see there is no entry for < G1 > < / G1 > at all.)
Now because of that, my frame1/frame2 who checks the value <? choose:? > <? When: County (G1). = 0 ? > out of the reutrning in the first case (as expected)
but don't return do not all outputs in the 2nd case (his does not work as expected by me)
Any pointers or help appreciated.
Thanks in advance
It solved using the IF ELSE block in the two frames, I'm back frame1 for the scenario IF count (G1) > 0 and return frame2 for another scenario.
-
How to change the date when the display format in the RTF...
in my XML, I get the date like this
27/02/2010.
but I need to show the date as this 02/27/2010 model rtf. I tried to keep the date format in dd/mm/yyyy of properties of Word on the date placeholder
but I'm getting date as 02/27/2010 in the output report that he has not changed and the style that I need in the requirement.
One is to have idea how slove my problem.
I'm new to BI publisher and sorry you guys hurt.
Thanks in advance. Good day. -
How to extract the data in a grid format in an area of the bean in forms 6i?
Hello
I need help from all the gurus and the experienced people in forms 6i. I'm currently building the shape that will have certain text fields and a bean area that displays the records that I had entered. Suite to the essentials is the basic form structure, I am developing
1. There will be a search form that will have two text fields 'Emp ID' and 'Name Emp' and two buttons 'New' and 'find '.
2. There is an alternative, which will have an area of bean that allows to display the following columns in it in the form of a GRID
a. Emp ID
(b) name of the Emp of
This form will be also two 'Emp ID' and 'Name Emp' text fields.
3. when I press 'New' in the search engine so the second form should open and it will be empty. I can enter data into text fields and save the form. The area of the grid (the bean area) must be empty.
4. when I reopen the search form and enter the 'Emp Id' I just created in the previous step and click on the "Search" button then the following form should open and the "Emp Id" and the text "Emp name" fields must be populated with the data that I created in step 3 and the bean area must also display the record in the form of a grid.
I'm ok with all parties except the part of area of bean. Can you help me hpw to develop the form with the area of the bean and extract data when wanted and display as a grid?Take a look at the link I provided. Francis already has an example of implementation of a Java data grid on a form. The direct link is: http://forms.pjc.bean.over-blog.com/article-1830062.html
Craig...
-
How to get data for submission of form using REST or SOAP API
Hello
Can someone let me know how to recover data using REST or SOAP API for example, also I need to know how to delete some data from form submission using REST or SOAP API for submission of form. Answer please I need to implement in one of my projects.
Thanks and greetings
Angela
Post edited by: Md Shahid
Here the answer How to recover data for submission of form using REST or SOAP API
-
How to recover data for submission of form using REST or SOAP API
Hi Topliners,
Can someone let me know how to recover data using REST or SOAP API, for example, also I need to know how to delete some data from form submission using REST or SOAP API for submission of form. Please answer I need to implement in one of my projects.
Thanks and greetings
Angela
See REST API - to access form data REST API - Documentation for kernel objects
Delete only is not supported via the API.
Maybe you are looking for
-
Cannot open my iphone more 6s after updating to ios 10, gorgeous itunes logo
iPhone more than 6 s has been supplied with itunes logo can not open more
-
Satellite Pro C660-1nq - cant access HDD recovery
Hello Sorry to bother you but I need help if possible.I'm trying to restore my laptop to factory settings and I am pressing f8.However, I get all the system recovery options, but no Toshiba hard drive recovery option. What I am doing wrong?
-
Windows update fails to download KB951847 with error code 80073715
I have the 32-bit version of Windows Vista. Windows Update fails to update the following: Microsoft.NET framework 3.5 service pack 1 and the .NET framework 3.5 Family Update (KB951847) X 86 code error 80073715. This happens again and again. I am also
-
Error reading data Configuration system after a keyboard spill
Hi, I have a huge problem. First of all, I am dual-booting Windows Vista Home Premium SP2 and Ubuntu 9.10. That is how I am able to post here, because Windows will not work. I have a laptop Gateway which is about a year and a half now, and I need it
-
get the problem when starting native/cascades beta sdk - "QML preview is not available.
Hello friends, When I start native/cascades sdk beta (latest version). It shows an error message "QML previw is not available. I am also attaching the screenshot of it. And my PC has no external graphics card. Please tell me why I get this message? T