Response of ATG10.1.1 REST webservices with respect

Hello world


I'm under ATG 10.1.1 REST webservieces to access the giftlist of user particular. when I run the service with http://localhost: 8080/rest/repository/atg/commerce/gifts/Giftlists/gift-point

This URL. I get a respose as below.

which returns

{"article-gift": []}

{

"atg-rest-component-path': ' / atg/commerce/gifts/Giftlists."

"atg-rest-point-descriptor': 'article-gift."

'atg-rest-repository-id': 'gi140001 '.

},................

1. how to change or use this response for the name of Giftlist?

as I'm naïve to REST Web services. can someone explain to me please better in this REST.

2. we have a module Mobile REST to ATG 10.1.1 in that I found a few jsp how can we use these jsp?

Thank you and best regards,

Ravi

Try this URL for the name property of access

http://localhost: 8080/rest/repository/atg/commerce/gifts/Giftlists/gift-point/gi140001/displayName

See the following URL for more information:

URL of Oracle ATG Commerce Web Services - REST Web

Get the items from the repository

Tags: Oracle Applications

Similar Questions

  • Secure RestFul WebService call with basic authorization via https

    Hello

    is it possible to call a secure RestFul WebService with basic authorization via https to APEX?

    Database: Oracle 11g XE
    APEX: 4.2.1

    I have a solution by calling the Java Web service, which was called from the database via a scheduled task (run).

    As my hosting partner does not support Java, I'm looking for another option.

    Concerning
    Markus

    Hello

    Oracle XE can USE a wallet with utl_http without problem. Just create a portfolio from a version supporting the creation of the portfolio and copy this portfolio to your XE machine and use it. It really works.

    ---
    Lavenu
    MaxApex accommodation
    http://www.maxapex.com

    Published by: Richard on January 23, 2013 23:32

  • EJB + REST WebServices

    Hi all

    I am developing an EJB application and REST to display Web services for client application.

    What I tried and founded:

    Oracle JDeveloper 12 c (12.1.3) tutorials - building and consuming a RESTful Web Service from related database

    Oracle JDeveloper 12 c (12.1.2) tutorials - creating a Web Application using EJB and JPA JavaServer Faces

    http://waslleysouza.com.br/2014/10/RESTful-Web-service-no-JDeveloper-12C/

    Re: The best way to implement Web service in the existing EJB application

    Oracle JDeveloper 12 c (12.1.3) tutorials - web services REST-JSON consuming in Mobile Applications with Oracle Mobile Ap...

    Annotation EJB REST/JSON session...?

    Re: Need DataControl customer who accepts JSON of Service Rest

    These are not quite what I need. There are parts that I use all of them, but at the end, when I test the webService with analizer http it doesn´t work.

    Anyone know a good tutorial, from the beginning (create EJB´s, creation of the webservice_REST) to the end (customer consuming the webservice_REST) without problems?

    Thanks in advance

    https://blogs.Oracle.com/IMC/entry/building_simple_java_ee_rest

  • The Post of Restful Webservice method using

    Hi all

    I use jdev 12.1.3

    I'm new to the MAF.

    I want to use the Post of Restful webservice to MAF method. I have a variable defined in the service binding Restful web and if I use it with a HTTP client works not very well.

    Please let me know how to use the Post of service Restful MAF method.

    I made a data control to the Get method with json respose. Can I use the same data control with a different method for the position.

    Kind regards

    KP

    It depends on what awaits your REST webservice as input.

    You can try passing param1 = 123 & param2 = abc & param3 = load useful s bat

    The first feature film in references of function in the file application.xml - MAF is displayed by default.

  • How to call the REST Webservices via native J2ME app.

    Hi, can someone help me how to call REST Webservices via native J2ME app. I don't want to use the HTTP request. Is there a possible way to call via AJAX, if so how? I use only the RIM and the J2ME API. Thank you, joy

    JSON is just the format fo the data returned.  So all you do is make a standard HTTP call, get the data and analyze using JSON.  OS 6.0 includes JSON, but OS 5.0 doesn't work, then you will need to get a JSON library if you want to use in the 5.0 OS.

    You might find them useful:

    http://supportforums.BlackBerry.com/T5/Java-development/JSON-library/m-p/573687

    http://supportforums.BlackBerry.com/T5/Java-development/sample-code-implementing-JSON-in-your-applic...

  • Get complete information of Contact with the REST API with Ruby

    Hello

    I'm trying to find information from a contact using the REST API from Ruby. I followed the example posted here and I was able to get good contact with Eloqua, but information are the basis and the FieldValues table is very long with fieldValues can only be and no label field.

    I don't know I asked for complete = depth, and I verified that the contact even on the side of Eloqua seen so many other areas.

    It's the URL that I use: https://secure.eloqua.com/API/REST/1.0/data/contacts?search= < emailAddress > & depth = full & count = 1

    and I don't get like this field in the fieldValues can only be: {'type': 'FieldValue', 'id': "100175"}

    With respect to the main information, they are basic.

    Is it possible to obtain all the contact fields, the same than the one I see on the site of Eloqua?

    Thank you

    Hi Theyaa,

    You can use the following endpoint to retrieve a list of all fields with their unique identifier and metadata:

    • GET /API/REST/1.0/assets/contact/fields?depth=complete&search=*&page=1&count=250

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • WebService with several operations

    Is it possible to have a single statement of WebService with several operations?

    I see a tag of operations compared to a tag of operation but impossible to find good documentation about this.

    Looks like an ASP.NET WebService (end point defined by a WSDL document) may have several web methods/operations, and therefore the < mx:WebService > tag should support multiple < mx:operation > tags maybe inside a < mx:operations >?

    Is it how it works? Is there documentation on this or samples?

    I thank in advance
    George

    Ah, so easy it was hard for me to see.

    He thinks it was the mx:operations of Flex Builder drop down type ahead led me to get confused and go down the wrong path.

    Thanks for your reply,
    George

  • Are there still known issues with Lightoom 5 and El Capitan with respect to attachment? I know that problems have been resolved with CC Lightoom

    Are there still known issues with Lightoom 5 and El capitan with respect to attachment? I know that problems have been resolved with Lightoom CC.  I looked on the Internet but most of the references are Lightoom CC.  Ive got all the updates with Lightoom 5, (Camera RAW 8.1), but also Apple, (El Capitan 10.11.3), but my Nikon D800 will not always tie.

    HAL P Anderson wrote:

    The problem is in the SDK (SDK) of Nikon. He used features of OS that changed with El Cap. All previous versions of LR were broken by the Exchange operating system. For LR 5 to work, it must be associated with the new SDK of Nikon, and Adobe is not reissue of older versions.

    The result is: LR5 and previous versions will continue to not be able to attach Nikon under El Capitan. I'm sorry.

    HAL

    Although what you say is maybe true, I'm not sure, but there were reports of people that says exactly the opposite. Home of Nikon has not worked in 2015/6 but continued to work in LR 5 on the same Mac running 10.11.x.

  • How to hold table with respective pages

    Hello

    Can someone help me how to determine the list of pages with respective table in the oracle apex.

    Thank you and best regards,

    Ibrahim Sayyed.

    Hello

    Home > Application Builder > modify your Application > Application reports > shared components > dependencies of objects in the database.

    Thank you

    Lacombe

  • WHT is the downside of the scope with respect to the operation?

    WHT is the downside of the scope with respect to the operation?

    not 100% sure I understand your question well, but scope is available for the duration of your request - which means that if you insert data in the scope it remains around the life of your application - which can be a drain on resources.

  • Request, the response of webservice with CDATA

    I need assistance with the query:

    declare

    Xml_RESPONSE Xmltype: = xmltype)

    ' ' < SOAP - ENV:Envelope xmlns:SOAP - ENV = " http://schemas.xmlsoap.org/SOAP/envelope/ "" xmlns: xsi = " " http://www.w3.org/2001/XMLSchema-instance "container =" " http://www.w3.org/2001/XMLSchema ">

    < SOAP - ENV:Body >

    " < ns1:Person1sResponse SOAP - ENV:encodingStyle = ' http://schemas.xmlsoap.org/SOAP/encoding/ "xmlns:ns1 ="MAP112"> "

    < back xsi: type = "xsd: String" > <! [CDATA [< person Ident1 = "234" > < 47 > < / Age > < Day_Time > 2015 - SEP - 03 08:55:43 < / Day_Time > < / person >]] > < / return >

    < / ns1:Person1sResponse >

    < / SOAP - ENV:Body >

    (< / SOAP - ENV:Envelope > ');

    BEGIN

    C IN)

    SELECT B2.*

    FROM XMLTable)

    XMLNamespaces)

                 ' http://schemas.xmlsoap.org/SOAP/envelope/ ' AS "SOAP-ENV"

    , "MAP112" AS "ns1."

    )

    , ' SOAP - ENV:Envelope / SOAP - ENV:Body / ns1:Person1sResponse / back '

    by the way Xml_RESPONSE

    path of columns person clob '.'

    ) A1

    XMLTable)

    "' / Person"

    by the way xmlparse (document A1. Person)

    age columns VARCHAR2 (10) PATH 'Age '.

    ) B2

    ) LOOP

    DBMS_OUTPUT. Put_line (' output: ' |) C.Age);

    END LOOP;

    END;

    Thank you

    Kostadin

    Your code is perfectly fine.

    What problem do you have?

    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> declare
      2
      3  Xml_RESPONSE  Xmltype := xmltype(
      4  '
      5     
      6        
      7           4703-SEP-2015 08:55:43]]>
      8        
      9     
     10  ');
     11
     12  BEGIN
     13
     14  FOR C IN (
     15  SELECT B2.*
     16      FROM XMLTable(
     17             XMLNamespaces(
     18               'http://schemas.xmlsoap.org/soap/envelope/' AS "SOAP-ENV"
     19               ,'MAP112' AS  "ns1"
     20             )
     21           , 'SOAP-ENV:Envelope/SOAP-ENV:Body/ns1:Person1sResponse/return'
     22             passing    Xml_RESPONSE
     23             columns Person  clob path '.'
     24          ) A1
     25        , XMLTable(
     26            '/Person'
     27            passing xmlparse(document A1.Person)
     28            columns     Age  VARCHAR2(10) PATH 'Age'
     29          ) B2
     30            ) LOOP
     31            DBMS_OUTPUT.PUT_LINE( 'output:    '|| C.Age   );
     32            END LOOP;
     33  END ;
     34  /
    
    output:    47
    
    PL/SQL procedure successfully completed.
    
  • Initiate Orchestrator workflow through REST/Post with JSON body

    I am trying to initiate a workflow custom Orchestrator by issuing a MESSAGE from a client (in this case a violin) with the parameters in JSON format in the body.

    So far, I have been unable to get what anyone other than a 400 Bad Request and a "the request sent by the client was syntactically incorrect ()." in response.

    My environment is

    vCenter Orchestrator 5.1.1 Build 2942

    Java version 1.6.0.26

    The rest 1.0.1 Plugin is installed

    To verify that I am indeed able to initiate a workflow via a POST, I tested with XML in the MESSAGE body, just like a validation test. Given a data center TestDC2 I send the following

    POST https://10.144.20.62:8281/api/stream/d7614e92-0578-42b6-9c1f-04bd8a0533d3/executions / HTTP/1.1

    Authorization: Basic XXXXXXXXXXXXXXXXXXXX

    User-Agent: Mozilla/5.0 (Windows NT; Windows NT 6.1; en - us) WindowsPowerShell/3.0

    Content-Type: application/xml

    Host: 10.144.20.62:8281

    Content-Length: 311

    Connection: Keep-Alive

    " <-xmlns = execution context" http://www.VMware.com/VCO "> "

    < Parameters >

    < name of the parameter = "datacenterName" type = "string" >

    < string > TestDC2 < / string >

    < / parameter >

    < name of the parameter = "customerVMFolder" type = "string" >

    < string > aNewFolderVMFolder < / string >

    < / parameter >

    < / Parameter >

    < / execution context >

    I get a response of success

    HTTP/1.1 202 accepted

    Location: https://10.144.20.62:8281/api/stream/d7614e92-0578-42b6-9c1f-04bd8a0533d3/executions/ff8080813e847992013fa4ac4c2b046f /

    ETag: "0d41d8cd98f00b204e9800998ecf8427e".

    Content-Length: 0

    Date: Wednesday, July 3, 2013 13:15:22 GMT

    Server: vCO Server

    and 'aNewFolderVMFolder' folder is created under TestDC2

    The JSON equivalent

    POST https://10.144.20.62:8281/api/stream/d7614e92-0578-42b6-9c1f-04bd8a0533d3/executions / HTTP/1.1

    Authorization: Basic XXXXXXXXXXXXXXXXXXXX

    User-Agent: Mozilla/5.0 (Windows NT; Windows NT 6.1; en - us) WindowsPowerShell/3.0

    Content-Type: application/json

    Host: 10.144.20.62:8281

    Content-Length: 173

    Connection: Keep-Alive

    {

    'settings':]

    {'name': "datacenterName", "type": "string", "value": "TestDC2"},

    {'name': "customerVMFolder", "type": "string", "value": "aNewFolderVMFolder"}

    ]

    }

    gives a bad request

    HTTP/1.1 400 Bad Request

    Content-Type: text/html; charset = utf-8

    Content-Length: 965

    Date: Wednesday, July 3, 2013 13:21:02 GMT

    Connection: close

    Server: vCO Server

    < html > < head > < title > JBossWeb/2.0.1.GA - error report < / title > < style > <!-H1 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 22px ;}} H2 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 16px ;}} H3 {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76; do-size: 14px ;}} BODY {do-family: Tahoma, Arial, without serif; color: black; background-color: white ;}} B {do-family: Tahoma, Arial, without serif; color: white; background-color: # 525 76 ;}} P {do-family: Tahoma, Arial, without serif;: white background; color: black; do-size: 12px ;}} A {color: black ;}} B.SID {color: black ;}} HR {color: # 525 76 ;} - > < / style > < / head > < body > < h1 > State HTTP 400 - < / h1 > < HR size = "1" = "noshade" noshade > < p-type > < b > < /b > < /p > < p > < b > report message < /b > < u > < / u > < / p > < p > < b > description < /b > < u > the request sent by} the client was syntactically incorrect (). < /u > < /p > < HR size = "1" noshade "noshade" = > < h3 JBossWeb/2.0.1.GA > < / h3 > < body / > < / html >

    After reading The POST CURL with vCO 5.1 REST API

    I also tried

    POST https://10.144.20.62:8281/api/stream/d7614e92-0578-42b6-9c1f-04bd8a0533d3/executions / HTTP/1.1

    Authorization: Basic YWRtaW46U2E1YWRtMW4 =

    User-Agent: Mozilla/5.0 (Windows NT; Windows NT 6.1; en - us) WindowsPowerShell/3.0

    Content-Type: application/json

    Host: 10.144.20.62:8281

    Content-Length: 266

    Connection: Keep-Alive

    {

    'settings':]

    {'name': 'datacenterName', 'type': 'string', 'field': 'local', 'value': {"value": "TestDC2", 'objectType': 'chain'}},

    {'name': 'customerVMFolder', 'type': 'string', 'field': 'local', 'value': {"value": "KamTestFolder", "objectType": "string"}}

    ]

    }

    with exactly the same results

    What I am doing wrong?

    Burke - State 415 code indicates the shift in the type of media, which is expected, because there is no Content-Type header

    KeyboardSlappingMonkey - I think that the body of the request should be something like the following (note the difference in the format of the value)

    {'settings': [{'name': 'datacenterName', 'type': 'string', 'value': {'chain': {'value': 'TestDC2'}}}, {"name": "customerVMFolder", "type": "string", "value": {'chain': {'value': 'KamTestFolder'}}}]}

    and you must pass the Content-Type header with the value application/json;v=5.1.1

    I hope this helps.

  • I just spent an hour to compose a response in a thread ("Firefox does not with paypal"), only to see "You do not have permission" to submit - total loss!

    I was connected to respond in the thread "Firefox does not work with paypal. I spent the best part of an hour carefully compose this response, case tests, links, etc... [Tip: Firefox, unlike other browsers, has a problem with the server paypalobjects.comscripts.] Because I had taken so long to write the answer, she seemed to be a good idea to check in via the Preview button, but I received a message that the service was not available. Of course, I decided to submit it anyway, but when I hit 'submit' I got a message "you don't have permission...". "- at which point I (stupidly) on another page with this message, and what I wrote was gone!

    Anyway, it is definitely not normal that the site log out after only an hour. Sorry to hear about this. Maybe there was a little problem on the server with your session. If it is reproducible, I wonder if you have any software that could be quietly elimination of cookies for the inactive sites?

  • Consuming webservice with widget Blackberry - Visual Studio dotnet

    Hi team,

    I have developed a webservice in ASP.NET and consumed it in using the Blackberry application

    HTML/JAVASCRIPT with XML HTTP REQUEST. It works very well and gives the O/P expected only when the

    Web service runs in LOCALHOST. When it's hosted Web service on a different server, I have m

    access with browser.but through the application of BLACKBERRY, unable to get the answer.

    Hearing from friends that JAVASCRIPT cant directly consume not on Web services

    LOCALHOST and the fact using WEBSERVICE behaviors (downloaded webservice. HTC) and

    After writing all the code, and then the debug gives the error to the so-called CALLSERVICE method

    undefined function , I guess that BB doesnot support webservice behavior option.

    Thus, even tried with the approach by JQUERY. It gives an error: external resources error requested resource and doesnot even run with LOCALHOST as well.

    Please help me the way out...

    Kind regards

    GOUSSARD

    Hey! I thought I did, but no jajaja

    I added the http://192.168.1.114:90 address to areas in the config.xml file an it worked!

    Yeiiii! I am so happy

    Thanks for your reply.

  • Unable to access REST services with Apex 5.0.3 and ADR 3.0.3 in standalone

    Hello

    I'm trying to get my APEX with ADR 3.03 installation and for the life of me can not get of work REMAINS.  When I try to run the tutorial of

    Creation and use of RESTful Web application services Express 5.0

    I get the following error in the window of standalone ADR

    Journal of the oracle.dbtools.common.config.db.ConfigurationValues 12 January 2016 17:45:16

    ATTENTION: * jdbc. MaxLimit in apex_al configuration uses a value of 10, this setting cannot be sized properly for a production environment *.

    Journal of the oracle.dbtools.common.config.db.ConfigurationValues 12 January 2016 17:45:16

    ATTENTION: * jdbc. InitialLimit in apex_al configuration uses a value of 3, this setting cannot be sized properly for a production environment *.

    12 January 2016 17:45:16 oracle.ucp.common.UniversalConnectionPoolBase initInactiveConnectionTimeoutTimer

    INFO: connection time-out timer inactive at the request

    12 January 2016 17:45:16 oracle.ucp.common.UniversalConnectionPoolBase initInactiveConnectionTimeoutTimer

    INFO: connection time-out timer inactive at the request

    12 January 2016 17:45:17 oracle.dbtools.common.config.db.DatabasePools validateApexPoolConfigView

    SEVERE: * the pool named: apex_pu reports no APEX workspaces are enabled for RESTful Services,.

    but the pool named: apex_al reports 1 workspaces are enabled.

    This implies what APEX has been installed after the Oracle REST Data Services. Run the following command, and then restart REST Oracle Data Services:

    java-jar ords.war validate - apex of the database

    APEX based RESTful Services, including those used to serve static resources will not work until this was done.

    ***

    I ran validate it as many times it changed anything.  My REST services just returns 404.

    Someone at - it ideas?

    Thank you

    Scott.

    There seems to be a bit of chatter about the 3.0.3 in particular issues. I suggest to go back a step from version and try again.

Maybe you are looking for