Problem with RESTful services and several optional parameters

Hello

Apex 4.2.5 I created following RESTful services:

/ test/multiplepar / {p1}

/ test/multiplepar / {p1} / {p2}

/ test/multiplepar / {p1} / {p2} / {p3}

Practitioners will make has that {p2} and {p3} are supposed to be optional parameters, in a way 'cascading '.

The underlying queries are respectively:

Select: p1 double p1

Select: p1 p1: p2 p2 double

Select: p1 p1: p2 p2,: p3 p3 of the double

However when I run:

http://Server/Apex/WS/rest/test/multiplepar/1/2/3

I get the result below...

{

"items":]

{

P1: "1/2/3"

}

]

}

He takes everything as {p1} instead of divide among the 3 parameters.

I'm sure that it is valid and I saw him work before... (in this same environment)

Any ideas?

Thank you

Luis

Nevermind, I found out that the 'priority' field must be set accordingly in the resource model.

Tags: Database

Similar Questions

  • Problem with the store and several questions.

    I tried all the methods listed below:

    Method 1: Make sure that User Account Control (UAC) is enabled.

    Press the Windows key and from the splash screen, type "UAC" and on the right, select settings.
    Select change user account control settings and check here.

    Method 2: Check the date & time zone is correct:

    Follow these steps to change the time.

    a. double-click the current time on the lower right of your screen.

    b. then click Change hour date, then click on the button to change time zone

    c. Select your time zone and the tick to automatically adjust clock for the time being, then press OK

    d. press on apply, then OK.

    Method 3: Run the network troubleshooting and check if you can connect to store.

    Follow the steps to run the network troubleshooter utility:

    a. press the keys Windows + C on your keyboard to show the charms.

    b. type Troubleshooting , and then clicksolving problems under settings.

    c. now, tap network troubleshooting in the optionSearch .

    d. clickutility troubleshooting networkto run the troubleshooter.

    Method 4: If you use a proxy connection, then try to disable the proxy and then check if the problem persists.

    Follow the steps to disable the proxy:

    a. open Internet Explorer

    b. click on the Tools buttonand then click onInternet Options

    c. click on the Connections taband then clickLAN settings

    d. uncheck it Server Proxy use.

    e. click on apply then Ok to save the changes.

    Now, check if you can access store.

    Method 5: Cache reset Store.
    Follow the steps and check out them.
    (a) right click on the start screen
    (b) click on run
    Type c) in WSReset.exe
    (d) press enter
    (e) restart the computer and check.

    Method 6: analysis Run SFC
    (a) right click on the lower left corner of the screen and select 'Admin command prompt.
    (b) type following command, and then press ENTER: "sfc/scannow".

    Method 7: I suggest that you disable the antivirus installed on the computer.

    Method 8: CDevil Windows Firewall settings

     

    (a) Type in the Panel on the Start Page.

    (b) on the left side, click on Control Panel.

    (c) click on Windows Firewall.

    (d) in the left pane, click "allow an app or feature through Windows Firewall."

    (e) under the features and applications allowed, look for store.

    (f) make sure that you have a click in private or Public.

    (g) then see if you can open the Windows store.

    Not a SINGLE one of these methods have worked. When I go to my home screen and click on store, he told me 'we could not connect to the Bank. This could have happened due to a server problem or a network connection has expired. Please wait a few minutes and try again. "I did it on my network troubleshooting, all right, I am able to connect to everything, but I've NEVER been able to connect to the store. Not only can I not connect to the store to upgrade to 8.1 Windows, but I can't create restore points. Not only that, but the backlight on my keyboard, no matter which option to choose, is always on when I type, even if I say it stays off. In addition, with Windows 8, I was promised the "quick start" where he takes no time to start, it takes more to start my computer windows 8 as it did my 4 years updated to the windows computer 7. Also, I can't start in Safe Mode or the clean boot. Whenever I try to perform the clean boot by using the options in the window manager and the configuration tasks system, when the computer reboots, everyone who opens are reset to zero and it doesn't work. I can also perform an update of the system. I want to just upgrade to 8.1 windows, but I'm not without the WS and NONE of the methods I have found work. I'm about to say the hell with windows 8 and make a downgrade from the system to an OS that actually works. I had nothing else problems since I bought this computer with windows 8. I don't have time to deal with these questions. It is clear that appropriate testing procedures were followed before the release of Windows 8. Please help, I am very frustrated with all of this.

    I also tried before asking this question. I don't know what happened, or how he did it, but the store has started working when I was on other networks, he didn't always works at home well. I finally download and install windows 8.1 and it fixed the issue together.

  • problems with hp 8600 and printing options

    I'm having a nightmare with our new printer. I have downloaded all the drivers and the possible software and tried everything I can think of!

    Basically when I go to print it does give me not an option to choose a custom size paper. When I change the size of the paper for a small size it also changes the type of paper hp advanced photo paper (media)? and then I cannot print in the project.

    Also I did leaflet in publisher and that too does not allow me to print in the project. It is set to A4 but defined the type of paper on hp advanced photo paper.

    Any help?

    Customer paper size option has been subscribed as a feature for a reason, but you can get it by using another driver. The link below will take you through the steps. I hope this helps.

    How to assign other print in different Versions of Windows drivers.

  • + 011 phone calls indicating that I have serious problems with my computer and that they provide a service of Microsoft solve problems

    original title: + 011 phone calls

    I just got a phone call from + 011 indicating that I have serious problems with my computer and they provide a Microsoft service problems. It sounds like a crowded call center and they can tell me their name and they tried to set up a remote entry on my computer. That's when I hung up. Is - this legitimate because what it really looked like a trick.

    Not legitimate... do not answer the call... Mike Hall MVP - Windows Expert: consumer http://msmvps.com/blogs/mikehall/

  • Anyone having problems with Windows 7 and the HP LaserJet P2035n?

    It seems, after a few months of service, there are several problems with this printer and Windows 7 only.  We have several offices that use this printer and almost each one has similar problems.  It will printer randomly disappear, not being able to print anything at random times of the day, to the spooler crashing every two minutes or more.  There is no problem at all with Windows XP or Vista, only 7.  Reinsalling the printer driver takes care of the problem for a few days, but the questions up all over again.

    Hello

    The Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the Technet forums below:

    TechNet forums

  • Satellite Pro C650D - problems with the audio and game controllers

    Hello

    I recently had problems with my microphone and speakers/headphones and game controllers.
    Sometimes the microphone stops working when on Skype, for example, but most of the time works fine, once again, when I restart the pc.

    Stakeholders sometimes still work when I connect headset.
    Some of the sounds are still coming through the speakers while some coming through the headphones.

    I have a usb game controller which also did not work everything properly.
    If I assign buttons in the program that they do not work in the game.

    All these devices are in Device Manager in a group that makes me think it's sort of annoying update doubtful that messes with them.

    Any body have similar problems or know what to do better?

    See you soon
    Laurin

    Hello

    Can you please send some details on the laptop model and the system you are using?

    With regard to the issue of sound/mic:
    > The microphone sometimes stops working when on Skype, for example, but most of the time works fine, once again, when I restart the pc.

    Are you talking about internal microphone or external? This only happens using Skype?
    In your case I would test the microphone using different applications to make sure that is not a Skype related issue.

    > Yet sometimes the speakers work when I connect headset.
    I recommend this thread:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=65295

    The user has had a similar problem, but this phenomenon was linked to the Realtek HD Audio Manager settings.
    She wrote:
    + In the upper right corner, there is a small yellow folder called "Connector settings" in my version. +
    + There, finally I could re-enable the setting "enable popup dialog box, when the unit is plugged. +

    + So now when I plug an external speaker or headphones, it appears, and I select the option "helmet" (instead of "line-in"), and then the sound only through the headphones/ext.speaker.+

    Regarding the game controller:
    > I have a usb game controller which also did not work everything properly.
    > If I attribute buttons in the program, they do not work in the game.
    I put t think its problem of laptop in my opinion, you must make sure that the controller is compatible with the games you play and also recommended to check some info provided by the manufacturer of the game controller.

  • How can I return to 6.3 4.0 I have never had a problem with 3.6 and now 4.0 crashes all the time tell me how to go back

    How can I return to 4.0 3.6 I've never had a problem with 3.6 and now 4.0 crashes all the time tell me how to go back

    Downgrade to Firefox 3.6 first of all uninstall Firefox 4, but do not select the option 'remove my Firefox personal data '. If you select this option, it will delete your bookmarks, passwords and other user data.

    Then you can install the latest version of Firefox 3.6 available to http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your favorite courses, passwords etc.

    I recommend, to avoid possible problems with decommissioning, accessing your profile folder and delete the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Delete these files will force Firefox to rebuild the list of installed extensions, check their compatibility and cancel the toolbar customizations.

    For more information on how to find your profile folder, see https://support.mozilla.com/kb/Profiles

  • Problem with location Services

    MacBook Pro (retina, mid-2012)

    OS X Version of El Capitan 10.11.4 (15E65)

    Processor: 2.7 GHz Intel Core i7

    Memory: 16 GB 1600 MHz DDR3

    Graphics card: Intel HD Graphics 4000 1536 MB

    When I go to the Maps app and click on the current location, I get the message "cards cannot locate current position." Also when I drag the local weather on the notification bar is not find local weather conditions.

    I have ensured that allow location Services is checked under Security & Privacy Preferences. I signed on iCloud and unchecked localization services enable and rechecked it.

    The only time wherever I can run is if I go to the activity monitor and force them to leave the following processes

    com Apple.GEOD (923)

    via (919)

    This will usually get the time to work and show the current location, but it doesn't work sometimes in the cards.

    I provided the date and time is correct and it is synchronized with the site time.apple.com

    When I go to the time zone in the Date and time it shows the city closest to me marked with a blue dot, and if I go over it it says "unable to determine the current location at this time.

    I had this problem since upgrade to Yosemite to El Capitan.

    I would also like to add that, in my house, I have an iPhone more 6s, two iPhone 5s, an iPad (Wi - Fi only) Air and two iPad 2 air (Wi - Fi only) who have no problems with location services.

    I have this problem too, but in my case if I returned to Yosemite the problem is solve, there must be something in El Capitan.

  • Problem with password reset link - "there is a temporary problem with the service. Please try again. If you continue to receive this message, try again later. »

    Hello, account Windows Live from my wife was hacked a week ago and has been used to send many spam emails. As a result, his account has been disabled or closed (we are not sure). Whenever she asks to reset a password and a link sent to a different e-mail account, when she clicked it gets this message 'there is a temporary problem with the service. Please try again. If you continue to receive this message, try again later. "She is tried repeatedly, but get the same message. Someone knows how to go beyond that, so she can recover her account? Thank you.

    Hello BBB34,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • While trying to use re set link sent in your email, response is "temporary problem with this service, try again later".

    reset the link

    while trying to use re set link sent in your email, response comes back "temporary problem with this service, try again later" it has been like this for more than 1 month since early December!   Help!

    Hello

    ·        What service provider or of the e-mail client that you are using?

    ·        What version of Internet Explorer you are using?

    ·        What operating system is installed on your computer?

    ·        It happens with all webmail or with any what particular webmail?

    I suggest you to follow the link and check if it helps:

    The problems of access to webmail using Internet Explorer

    http://support.Microsoft.com/kb/2483955

    Post back with detailed information on the issue so that we can help you further.

  • Wireless stopped working, the error message says "this wireless does not work on this computer ' even if another computer at home has no problem with wireless services.

    My computer stopped working wireless, the error message says "this wireless does not work on this computer ' even if another computer at home has no problem with wireless services.  I've tried everything and my router is intact.  My Protection of Kaspersky flags are gone from green to red and says threats have been detected. What should I do to get back on the wireless.

    original title: Wireless not working not

    Hello

    1 have had any changes made on the computer before the show?

    2. what operating system is installed on the computer?

    Method 1:

    Check the link and try to run the troubleshooter to check if it helps.

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Method 2:

    Try to run Microsoft Safety Scanner for any malware or spyware infection and check if it helps.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the Microsoft Safety Scanner expires 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

  • problem with xp service pack 3

    Hi guys need help with my compguys, I'h a problem increases... I used explorere 6 to give birth to xplorer 8. The question began, then asked me to download service pack 3 for xp. Once thi has been downloaded and installed then the reall problem began, as soon as my computer was done after update, it began to interfere with my wifi connections and lan, wifi is not turning on and the LAN did not work, please tell me what the problem is... I don't know that was the problem with xp service pack 3 Please help me.

    What application or antivirus security suite is installed and your current subscription?  What anti-spyware (other than Defender) applications?  What third-party firewall (if applicable)?  Who were these applications that run in the background when you installed SP3?

    A (another) Norton or McAfee application has already been installed on the computer (for example, a free trial version which is preinstalled when you bought it)?

    Device Manager and network connections may be blank after you install Windows XP Service Pack 3
    http://support.Microsoft.com/kb/953791

    Device Manager may not show all devices and network connections may not display network connections after installing Windows XP Service Pack 3
    http://support.Microsoft.com/kb/953979

    A Windows XP SP3 computer loses wireless connectivity when it returns to sleep or hibernation, or you receive an error message when you try to put the computer to sleep or into hibernation:
    http://support.Microsoft.com/kb/951447

    Windows XP SP3 on client computers can access the network when some DHCP information are not available
    http://support.Microsoft.com/kb/953761

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Problems with Windows Update and load XP SP3

    I had a problem with my system and had to replace my HARD drive and reload XP and all my applications and data.  Now, I installed SP2 and try to install SP3. Windows Update does not work (get the 080244019 error code x) and when I try to install the SP3 files from the Microsoft site, it'll run about halfway through and then stop and hang, displaying the message "Finish Installation" with bar at halfway of the progression.  I tried the MSRT and FixIt nothing helps.  I checked services.msc to see all the required services are enabled or started.  I read that some malware will be stop some services without notice.

    After a few attempts to load the file SP3 failed, check Add/Remove programs in Control Panel Windows XP Service Pack lists 3 but no file size or to update the date information as with other programs.  My browser is IE8 and I was doing some Hot fix for Windows XP downloads, this adventure started about 3 weeks ago, but no other automatic update downloads.  I use the following McAfee provided by my ISP for protection AV and firewall with regular full scans.  Scan today revealed there is apparently a single trojan file that cannot be deleted, but there were no further details.  My system is also fully functional; I seem to get the updates for McAfee and other applications OK but not SP3.  I received or otherwise installed following updates or Hot Fix for XP downloads in the past 3 weeks:

    KB954550-v5

    KB932823-v3

    KB915800 v4

    KB884020

    KB926239

    KB2618444 (Windows IE8 security update)

    I found an answer on another forum on editing the registry for the "/ Edit EDWARD CSDVersion value ' but have not yet tried waiting for any response to this request.  I'd like some useful suggestions.  Thank you and happy new year!

    Thanks for the quick response.  I did some checking on my system, I have XP Home Edition ships with the system bought in July 2007.  Add/Remove Programs shows that the aborted install XP SP3 and IE8 installation; I tried to load the SP2 file but it doesn't show here as an addition, so it may have been part of the original XP CD and I just crush.  Even for IE7 so I am not able to drop back to all recommend you.  I will try your solution later today and post my results. I saved SP2, SP3 and IE8 in my office and a flash player to reload later according to your instructions.  Stay tuned.

    It would be unusual for a CD of Windows XP (official) to have integrated Internet Explorer 7.

  • I've had dramas with my photos because I got my new iphone 4s in saying that there is a problem with the properties and I can't change the format of images

    Hello

    I've had dramas with my photos because I got my new iphone 4s in saying that there is a problem with the properties and I can't change the format of images (ie the rotating EGTC)

    Now, I see the image preview and it disappears to the flower, so I did not see one of my photos

    Some would like TO help on this im so not good with this kind of thing.

    Appreciate it in advance

    Let

    Hello

    • When you change the format of images of?
    • What is Windows Explorer or Itunes?

    Try the TV activation

    Enabled and disable the Option 'show window previews (thumbnails) '.

    a. right click on the taskbar.

    b. Select Properties.

    c. check show window previews (thumbnails) "Option. .

  • Problems with my mouse, and have not been able to find a solution to the research on various forums.

    Original title: mouse problems

    I have problems with my mouse and have not been able to find a solution to the research on various forums. Here are the symptoms:

    1. you must click several times to get the menus to open. Sometimes they are not just and sometimes they open with a single click flash but do not stick until I clicked several times.

    2 several times the menu drop down and seem to become transparent (not in looks) because when I click on something on the menu, he actually selects everything that is behind the menu drop down. For example, if I'm in powerpoint and you select an item in edit mode, it might work and here again he can just select the slideview behind the menu and expand. Or well, if I'm on a Web site, such as Facebook, and I chose to close the session, rather than enable the disconnection of the key, he chooses some ad is behind the part of the menu and redirects the page of this Web site.

    3. when I try to select a Word, words or sections as paragraphs, it performs several different things: continually select as soon as I let go of the mouse button, the jumps of color selection in another part of the document, or deselects the part of the text before I even let go of the mouse button.

    Here is what I tried:

    1. I had originally a usb wireless mouse. I changed the batteries and then got a new. Now I use a wired mouse.

    2 make sure all updates for Windows and Office 2010 are updated.

    3 has tried to update the drivers mouse, says that it is up-to-date. He restored, did not work. Uninstalled and restarted.

    4 Ran Windows Security Essential and Malwarebytes - found nothing.

    5. ensure that all the Toshiba updates were up-to-date.

    I don't know how the word this issue properly in order to find information about it. Everything I typed in search engines brings me other problems unrelated to this one.

    I am running W7 64 x Home Premium SP1, SP2 MS 2010 with a mouse Dell; Toshiba Satellite C655

    Well I have stumbled on the fix... looks like there was a problem with the HID-compliant mouse. The convenience store hardware detected and solved the problem. Everything seems to work properly again.

Maybe you are looking for