With the help of relaxing through APEX

Hello

I am building a mobile application using the [Appery.io] platform that uses [MongoDB] - base database. I need to link this DB to the Oracle database and use APEX to design an interface such that users can query, update the mobile App DB Oracle, as well as Oracle DB can be updated from the mobile application.

In the APEX, I use the URI with the GET method:

https://api.appery.io/rest/1/db/collections/Outlet_Details/

And I added the header:

X-Appery-Database-Id

When I call the service in the APEX (I insert database Id), APEX presents the collection / the table Outlet_Details in the JSON format. However, not the entire table, in my opinion, the length of type CLOB.

Now, my main problem is that I have to question this collection / the table called Outlet_Details by a named column: _id. So, when I use the following URI:

https://api.appery.io/rest/1/db/collections/Outlet_Details/1234

It returns the specific record which ha _id = 1234. However, I do not want to code it. Instead, I need to be more like where condition such that I can query based on any column value (e.g. userId rather _id). The CURL command is as follows:

curl -X GET
-H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9"
-G --data-urlencode 'where={"userId ": "1234"}'
https://api.appery.io/rest/1/db/collections/outlet_details/

My problem is to know how to insert a command in APEX, specailly (where) a part.

In this tutorial, oracle database is used. So using = where condition: condition DEP and then bind to a variable is quite simple. However, I need to replicate this tutorial with my MongoDB.

The other issue, which I think would clarify a lot for me, in the tutorial above, there is a URI prefix that is default APEX shema URI. Even when I insert the different URI scheme, the resultant URI will add the APEX that I inserted. How to build a different service using URI?

APEX takes where the status is embedded in the URL. Something like:

https://API.appery.IO/rest/1/DB/collections/Outlet_Details?where=%7B%22Oracle_Flag%22%3A%22Y%22%7d

The header is same and no input parameter

Tags: Database

Similar Questions

  • With the help of aplication in APEX to create users, is it possible?

    Hi all


    I work with environments APEX 4.1 in two, one for development and one for production.

    Develop, create and change users normally access the environment development, but on the production environment has no development of applications of the APEX, has only the applications.

    I was wonder if it is possible to create a page in the application to control the users (create, modify, delete...)

    Arthur DM1 wrote:
    Hi, VC.

    I am new to the development on "Express Application", only know what is possible to do by the magicians who provides the APEX.

    Start here 2 day + Application Express Developer's Guide

    See also create forms

    depends on what authentication? User authentication the only one I know are groups of users... is it?

    To find out the current authentication in your application:
    Sign in to your workspace > select your application > shared components > authentication schemes (here, you should see a list of authentication schemes and can know that we have the current value)

    What is this APEX_UTIL? I am currently researching

    See programming of Application (API) interface

    Published by: Arthur DM1 on 10/31/2012 11:37

    I read on APEX_UTIL on the 'USERS CREATE procedure', but I don't know where I'm going to use this procedure

    You can create a form on this procedure

  • With the help of Vista on the laptop. Receive 3 updates on initialize to the top & stop. Do not install. Party at 3 x through process 80070002. How to fix?

    With the help of Vista on the laptop. Receive 3 updates on initialize to the top & stop.  Do not install.  Party at 3 x through process 80070002. How to fix?  3 updates failed to install: KB2779562, KB2705219 and KB2722913.  Constantly configures updates during startup and shutdown.  Takes a long time for the two workers.  Can anyone give advice?

    To decode 0 x 80070002. X 0 means that it is a hexadecimal number, 8 , error, the first 7 means it a windows error and the rest of Eastern 2, the number, the Windows error.
     
    To search for the error message we need to decimal format. Start the Calculator (Start - All Programs - Accessories - calculator) and choose the menu display - scientific, then the menu display - Hex. Enter 2 Menu display - decimal. It will say 2.
     
    Start an command prompt (Start - All Programs - Accessories - command prompt) and type
     
    net helpmsg 2
     
    and it will say
     
    The system cannot find the specified file.
     
    Use Notepad to search for FATAL and 80070002 in C:\Windows\Windowsupdate.log.
  • With the help of Club running on the Nike watch +.

    Hello

    This is something I have tried to work for a while and have not yet been able to find an answer. At the moment I use Nike + management club on my iPhone to follow the tracks that I find that gps is better than just using the application of the workout on my watch. However, something that really bothers me is that I start the race on my phone, but I can't then view my stats while running without having to press on and tap the watch and wait for the application to load, very irritating to race. I want to be able to lift my wrist and live stats are there to watch me, not listening and not get my phone out of my pocket. Surely this is something that can make the original watch?

    As a separate issue with the new app, Nike +, it does not recognize the songs I downloaded on my phone of Apple music in my playlists, then I have to play the separatelay of music through the application of music as opposed to go with Nike +? The ides on how to fix or is this a known problem with the latest Nike + app?

    Hello

    You may find it useful to consult the support resources of Nike and/or contact Nike for assistance with the help of their application:

    More information:

    https://iTunes.Apple.com/us/app/Nike+-run-Club/id387771637?Mt=8

  • With the help of JavaScript condition in the dynamic action of JQuery selector

    Hi guys,.

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Any advice would be appreciated.

    Chris

    Cashy wrote:

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Simple solution is to hide the region containing the element of text by default, using the style = "" view: no ' in the property of the attributes of the area in the region. " It will be always hidden when the page initially, but its visibility will be controlled by the DA subsequently.

  • With the help of Acrobat with MS Access VBA

    With the help of Acrobat 9.5. I'm trying to analyze a problem, so I have this test code:

    CODE

    Void testObjects()
    Dim i As Boolean
    Dim objapp As acrobat. AcroApp
    Set objapp = New acrobat. AcroApp
    objApp. Show
    I have = objapp. CloseAllDocs
    Debug.Print I have
    I have = objapp. Output
    Debug.Print I have
    Set objapp = Nothing
    End Sub

    After Objapp.closealldocs I I = true (successful) but after I get i = objapp.exit I = false (no), and of course Acrobat is still active. How can I get Acrobat to close? It is a bit of test code. In the real application Task Manager indicates acrobat using memory more and more as the application moves through the records.

    I suspect I'm missing something obvious here, but what? My experience with Acrobat automation and access is limited, so be gentle with me! smile.gif

    If this is the wrong forum, please tell me where I should go.

    I thought people might be interested to know that I found a work around for the problem of memory leak. I inserted a break every so many documents and that seems to be enough to let the Acrobat to free the memory.

    On the development of PC a break of 10 seconds every 50 records (or probably more) are sufficient enough. but I'll have to do some settings on the computer target to find the optimal number. This means that the process is extended, but it is once a year of operation, so I don't think that will be a problem. I'm estimating that the final time will be approximately 15 minutes.

    Of course, I thought of the solution until after that I had worked to generate Word documents instead, but it now means that we can offer the form in PDF or Word format.

    Thank you all for all the help and suggestions.

  • I published my site to Business Catalyst and purchased and installation by area, but the site can be seen only with the help of a search engine. The site is visible when I type the url address, but can't find a search engine

    I published my site to Business Catalyst and purchased and installation by area, but the site can be seen only with the help of a search engine. The site is seen when I type the url address, but can not find with search engines.

    Hello

    I suggest you sign upward to Google Webmaster tools (free) and check your site (directions are in the webmaster tools) and

    also consider joining Google analytic (also free).  Analytical will allow you to 'see' who is visiting your site and how they experience through research, order the seizure of the URL, or through the links, etc.  Also from where they come, how much per day, etc.  Lots of good information.

    In addition, through this document by google

    Check the performance of your site - webmaster help search

    Let me know if you have any question.

  • Need the pdf file must be stored directly in the database with the help of jasper

    I use the package of integration of jasper... www.opal-consulting.de
    using apex 4 and am now able to generate the invoice pdf... with the help of jasper and store it in a database... Board.

    I need to generate the pdf in the background... without dispalying invoice in my screen...
    Without having to download on my computer... And store directly in the database table.
    *.. *

    Is this possible...
    All information is very appreicated.


    Here is my part existing code... Kindly Guide.


    DECLARE
    l_blob BLOB;
    l_mime_type VARCHAR2 (100);
    BLOB l_blob2;
    l_mime_type2 VARCHAR2 (100);
    MPort varchar2 (200);
    mrserver varchar2 (20);
    BEGIN
    Warn('fsubdno'||:P103_SUBSCRIBERDNO);
    commit;
    mrserver: = rserver();
    MPort: = ' http://'|| mrserver | ' / JasperReportsIntegration/report ';


    ------------------------------------------------------------------------
    -generate the report and return to BLOB
    ------------------------------------------------------------------------
    xlib_jasperreports.set_report_url (mport);
    Warn ('firststrikeeee');

    xlib_jasperreports.get_report
    (p_rep_name = > 'reinvx',)
    p_rep_format = > "pdf."
    p_data_source = > 'failures. "
    p_rep_locale = > 'de_DE ',.
    p_rep_encoding = > 'UTF - 8',
    p_additional_params = > ' & Psubscribe_no ='. : P103_SUBSCRIBER_NO | ' & Psubscribed_no ='. : P103_SUBSCRIBERDNO,.
    p_out_blob = > l_blob,
    p_out_mime_type = > l_mime_type
    );
    WPG_DOCLOAD.download_file (l_blob);
    Warn ('secondstrikeee');

    WPG_DOCLOAD.download_file (l_blob);
    BLOB_LOADB (MID (),: P103_SUBSCRIBER_NO, NULL, 'RENEWAL_INVOICE', 'RENEWALINV' |: P103_SUBSCRIBER_NO, L_MIME_TYPE, L_BLOB);
    ------------------------------------------------------------------------
    -free resources
    ------------------------------------------------------------------------
    DBMS_LOB.freeTemporary (l_blob);
    ------------------------------------------------------------------------
    -judgment of the APEX page
    ------------------------------------------------------------------------
    apex_application.g_unrecoverable_error: = TRUE;
    EXCEPTION
    WHILE OTHERS
    THEN
    xlog (SQLERRM, "PRC_GET_REPORT_TUNNEL", "ERROR");
    LIFT;
    END;

    Published by: susf on 16 July 2012 08:47

    Hello

    try to do a procedure from your original like this code:

    procedure make_pdf(p_subscriber_no in number, p_subscriberdno in number)
    is
       l_blob blob;
       l_mime_type varchar2 (100);
       l_blob2 blob;
       l_mime_type2 varchar2 (100);
       mport varchar2(200);
       mrserver varchar2(20);
    begin
       warn('fsubdno'||p_subscriberdno);
       commit;
       mrserver := rserver();
       mport := 'http://'||mrserver||'/jasperreportsintegration/report';
       -- generate the report and return in blob
       xlib_jasperreports.set_report_url (mport);
       warn('firststrikeeee');
    
       xlib_jasperreports.get_report
          (p_rep_name => 'reinvx',
          p_rep_format => 'pdf',
          p_data_source => 'chess',
          p_rep_locale => 'de_de',
          p_rep_encoding => 'utf-8',
          p_additional_params => '&Psubscribe_no='||p_subscriber_no||'&Psubscribed_no='||p_subscriberdno,
          p_out_blob => l_blob,
          p_out_mime_type => l_mime_type
          );
       blob_loadb (mid(),p_subscriber_no,null,'renewal_invoice','renewalinv'||p_subscriber_no,l_mime_type,l_blob);
       -- release resources
       dbms_lob.freetemporary (l_blob);
    exception
       when others
       then
          xlog ('prc_get_report_tunnel', sqlerrm, 'error');
          raise;
    end;
    

    Then, you can call this procedure in a database job that you create with an apex as this process:

    begin
      dbms_scheduler.create_job (
        job_name        => 'make_pdf_job',
        job_type        => 'PLSQL_BLOCK',
        job_action      => 'begin make_pdf(' || :P103_SUBSCRIBER_NO || ',' || :P103_SUBSCRIBERDNO|| ') end;',
        start_date      => systimestamp,
        repeat_interval => null,
        end_date        => null,
        enabled         => true,
        comments        => 'Make pdf job from Apex page 103.');
    end;
    

    Kind regards
    Erik-jan

  • With the help of the mouse unordered list

    An issue of the past... I thought that I treat it a few years back, but can't find it here... I have a non ordered list of values (in a list in an accordion area!) and wish to have help mouseover for the items in the list...

    With the help of APEX 4.0 on 11g Enterprise...
    IE 7 (yes I know, don't get started me on that...)

    Anyone can shed light on how to do it again?

    Thank you

    Tony Miller
    Dallas, TX

    Hello

    This could help.
    http://dbswh.webhop.NET/dbswh/f?p=blog:read:0:article:2571800346711217

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • With the help of several conditional tags with multiple outputs of WebHelp

    I have a project that I created for a web application. Within the web application, there are 3 types of customers (business Accts, Accts National and level 1 clients).

    I added each help topic associated with the help topics that I created.

    Then, I created 3 outputs of webhelp and 3 Table of contents for each type of client.

    My goal is to publish the project, where each type of client has their own output generated. Do it this way, which is listed in the help topics of table of contents for each type of customer that is not correctly displayed.

    Example: National accounts TOC

    What is generated:

    I have tagged in the table of contents to the conditional tag appropriate help topics. Help, please. Any advice? I can also be reached at [email protected]

    None of your screenshots came through - the icon of camera in the web interface allows you to attach images

  • With the help of a correct sign in iD and password but nothing happens.

    With the help of a correct sign in iD and password but nothing happens - it just keeps watch as this is something but 'Hourglass' never really stops cycling!  Can I open a session / connection to Adobe on my iPad so I know that's all is OK but not on my MacPro!  Any ideas welcome... never had this before and I need to download my purchased upgrade Lightroom 4 as soon as possible! Thank you

    Hi, thanks for the suggestions - certainly connected to the internet!

    In the end, I went through the process of "update" in Mackeeper and even if there is nothing relevant that I could see - somehow I managed to connect!

    -It was strange that I never had errors on the sign in at all... but if I went through the process of the struggle to sign as a reminder of the password request, it looks like my email address / iD has not been recognized - weird because it has all the same info/details usedto sign in on my ipad and used to buy all my software recently and in the past!

  • With the help of measures advances/variables to display a summary list

    I use Captivate 5 to develop a tool that guides people through an application process and indicates the probability of this request is successful or not.

    What I would like is to have a legend at the end that displays a summary list of the reasons for which the application could be delayed or declined.

    For example, one of the questions may be: have you ever traveled abroad?  The user then selects Yes or no.

    On the last slide, he needs to post a topic (for example, your application is likely to be delayed for the following reasons) and any other reasons that are taken into account that the user is working on throughout the process.

    At present, there are 13 questions, so 13 reasons possible.

    Is it possible to use variables and advanced actions to get these to display in a list?

    I assigned to a variable for each response and action that adds 1 to the variable, if the answer is chosen.  I thought then to add another variable, called reasons which would then post the grounds with the help of a tip action (eg. If variable = 1 to allocate patterns with a variable containing the text of the summary).

    It does not, because it will only display the last answer that triggered an action, not a list.

    I've also thought about using actions to show/hide captions, but I think that will make gaps appear in the list if some of the reasons do not appear.

    Someone at - it other suggestions that might work?

    Thanks in advance for any help you can give me.

    The possibility to display all variables in a text caption and to see if they had a value of 1, didn't work...

    Now, I think the only option is to display all the legends, an action to show or hide the options that don't apply, based on the responses throughout the questionnaire.  Variables and advanced actions do not seem to be able to be used in the way that I was hoping - in other words, the variables are displayed only if certain options are selected (as a summary on a web form page).

  • SVN: #155021. You cannot update this file with the help of Dreamweaver Subversion integration because a new Subversion client application on your machine has made updates to the file Subversion meta data. For more information on this problem

    Can Hello anyone help?

    After you configure Subversion in Dreamweaver, I get this error again!

    SVN: 155021 #. You cannot update this file with the help of Dreamweaver Subversion integration because a new Subversion client application on your machine has made updates to the file Subversion meta data. For more information about this issue, see http://www.adobe.com/go/dw_svn_en.

    even after following the instructions http://www.Adobe.com/go/dw_svn_en Download the extension, python change the var in windows to say «;» C:\Python26'

    with & without quotes, with or without; before C

    command > comparability of Subversion to get the following error "the Conversion process has failed. Please make sure you have Python installed and you check Python PATH parameter'

    I managed to get all the files after the installation, I locked, unlocked and commit a file to test fact so that was all works well, the only part I'm not retrieves the latest version, this is because Subversion is 1.6.2 and dreamweaver must revert to the version 1.4.5 on local to work, the compile someone at - it an idea what to try next in order to make it work?

    Just a reminder!

    1. I configure Subversion through guidelines on http://help.Adobe.com/en_US/Dreamweaver/10.0_Using/WS80FE60AC-15F8-45a2-842E-52D29F540FED. html
    2. I managed to get the latest SVN version
    3. Lock, unlock and commit a file
    4. Installed Python in C:\Python26 change the path in windows system properties > advanced > Environment Variables > system variables > New > Python =; C:\Python26 also C:\Python26
    5. I also tried the same thing in the User Variables
    6. Installed the extension DW Subversion compatibility

    7. Tried to run the compatibly with the command > Subversion comparability in DW

    Welcome any suggestion to solve this?

    Hello

    There has been a lot of problems using svn with dw, and I know many people who have stopped trying to operate correctly.

    As much as I know dw will not work with newer versions of svn (over 1.5), and even then, there are a lot of problems, a possible solution is to try subweaver (at- http://code.google.com/p/subweaver/ ), as this has solved some of the problems associated with the use of tsvn dw environment.

    PZ

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

Maybe you are looking for

  • masking of the mouse cursors

    How can I do to make this (mentioned title)? I found https://decibel.ni.com/content/docs/DOC-17854 but it doesn't work that well for me because it stills needs a show to control show/hide of the sliders. My specification is such that a left click, it

  • After having downloaded Kaspersky Anti-virus cannot get into Facebook games

    I downloaded kaspersky anti-virus pure did what he said and now I can't have in one of my facebook games.  I get Facebook, but not all games, which was deleted and how to fix it. Original title: deleted files I think

  • loading images from the PC to the camera SD card

    I have two SD cards camera separated containing all my photos. I want to download everything on my PC and then combine them on ONE SD card for my digital photo frame. is this possible? You can choose to send to the SD card but when I tried it was not

  • WebWorks BBUI viewport moves on the PlayBook, works fine on the ripple

    I develop an application for the PlayBook using BBUI, the application is practically finished and works as I want. The issue I'm having is that when I create the application and load it on the PlayBook (orientation is portrait located in the config.x

  • How to develop faster by using Eclipse?

    Hello world! I need help - I am developing a new application for my blackberry (standard CLDC app), and I use the JDE 4.5 with Eclipse 3.4.1 + bb development plugin pack. The problem is, it takes so long to actually test the application after each ge