Webcenter REST api

Working on PS3 webcenter framework. The message items in the response for urn:oracle:webcenter:messageBoard have only read and delete capabilities. The update capabilities for messages from message board is missing. Is this a bug or a configuration issue?

Please refer below :
Using Oracle WebCenter REST APIs
Oracle Webcenter Portal & Content Tips: Using WebCenter REST API from Java
Thanks

Similar Messages

  • Oracle Webcenter REST API Authentication

    Hi All,
    I am getting authentication error while consuming the Webcenter REST API url http://webcenter.us.oracle.com/rest/api/resourceIndex.In Jdeveloper (URL Datacontrol)
    So please help me where to Provide the authentication details.
    Thanks.

    Hi.
    You need to add Authentication to your REST requests. Using Oracle WebCenter Portal REST APIs - 11g Release 1 (11.1.1.6.3)
    From my experience, I always used REST API from a REST Java Wrapper done by a mate: Oracle Webcenter Portal & Content Tips: Using WebCenter REST API from Java
    - Samples snippet of authentication:
    When executing code inside of the domain use OIT:
    b64EncodedToken = WCSecurityUtility.issueTrustServiceSecurityToken();
    String auth = "OIT " + b64EncodedToken;
    connection.setRequestProperty(AUTH_PROPERTY, auth);
    When executing code for testing in your JUnit or outside, use directly BASIC authentication:
    String userpass = "weblogic:weblogic1";
    BASE64Encoder encoder = new BASE64Encoder();
    b64EncodedToken = encoder.encode(userpass.getBytes());
    String auth = "Basic " + b64EncodedToken;
    Create a DataControl manually create an instance of the connection depending of the environment.
    Take a look in the official documentation and in the blog entry links.
    Regards.

  • How to use WebCenter REST API to like or comment a activity

    Hi all
    I want to know how to realize like or comment function with REST APIs.
    I execute a REST call with following url, but the 'like' counter is not be increased.
    http://cdcjp77vm3.cn.oracle.com:8888/rest/api/activities/services/oracle.webcenter.community/objectTypes/groupSpace/objects/(s2518c69b_1989_4a63_8886_c32075c76b9c)/likes?&utoken=FDNA-Z7ekZuPnVSNoPWOqTJ2IzAE_w**
    Is there anything i missed?
    Can anyone give me an example about how to use this API to like or comment a activity?
    Thanks
    Qian

    So Qian;
    looking through the code this is how you can
    Post a comment (POST)
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/comments?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
    {key:val}
    {text:'this is my comment)
    Edit a comment (PUT)
    So I haven't tried it but it should do the trick.. although I don't see update under capabilities so you may get blocked.
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/comments?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
        id: {commentId},
        text: 'changed my comment.. magic'
    Delete a comment (DELETE)
    /rest/api/activities/services/{serviceId}/objectTypes/groupSpace/objects/({objectId})/comments/{commentId}?utoken=blah
    Like POST
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/likes?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
    I passed it an empty object {} seemed to work for me.
    Unlike (DELETE)
    /rest/api/activities/services/oracle.webcenter.community/objectTypes/groupSpace/objects/({objectId})/likes/({likeId})?utoken=blah
    Let me know if this works for you

  • Consume Webcenter REST API for Mobile App

    Hi All,
    I have some requirement like How to consume web center REST API to the ADF mobile
    could you please guide to it any examples,links.
    When i am trying to consume by using URL Data control it is showing authentication failed, can you pls tell me how to resolve this issue.
    Is there any procedure do the same.
    Thanks in Advance .
    Message was edited by: 878913

    Well was able to resolve it however had to do workaround
    >> used rawXhrPost and put methods instead of xhrPost/put as the dojo.xhrPost seems to insist on sending the data as key=value
    pairs separated by a '&' which on one hand lead webcenter to believe there
    wasn't any POST data as it was expecting json ..
    however if anyone has used xhrPost with webcenter rest , please guide how to use it ... casue and unable to use it .
    also which is the right way to do it ? xhrpost or rawXhrPost , asthe later this method is not extensively mentioned... seems its going to be depricated...

  • Discussion forum REST API

    can anyone tell me how to consume webcenter discussion forums REST API ? I need to customize the discussio nforum taskflow for my project.

    you can follow the below mentioned links-
    http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_jive.htm#CHDGJECD
    http://www.art2dec.com/documentation/docs/fmw11g1114documentation/webcenter.1111/e10148/jpsdg_rest_api.htm#BGBDGDAC
    http://pmoskovi.wordpress.com/2010/01/05/webcenter-rest-api-sample/

  • Spring version with rest api of webcenter sites

    Hi everyone!
    I'm using the rest api of webcenter sites, with this libraries: com.fatwire.wem.api.rest 11.1.1.8.0, com.fatwire.wem-sso-api-cas-11.1.1.8.0, com.fatwire.wem-sso-api-11.1.1.8.0 in a spring application with version 3.2.10.RELEASE. And it's works fine! I'm getting a list of assets and all their attributes, but I need use this application with the spring version 4.0.6.RELEASE, then when I update the spring version the rest api this libraries do not work. This is the method that fails:
    SSOSession ssoSession = SSO.getSSOSession(baseUri);
    multiticket = ssoSession.getMultiTicket(username, password); -> ERROR LINE
    baseResource = baseResource.queryParam("multiticket", multiticket);
    this because the application cannot get a mutiticket. I'm using the same code and the same structure only changes the spring version. Oracle webcenter is updated with all the patches until this date.
    How it's possible solve this?
    Thx

    SOLVED
    private void authenticate() throws RestConnectionException {
       try {
      SSOSession ssoSession = SSO.getSSOSession("CASConfig.xml");
       multiticket = ssoSession.getMultiTicket(username, password);
       baseResource = baseResource.queryParam("multiticket", multiticket);
      } catch (SSOException e) {
       throw new RestConnectionException(e);
    CASConfig.xml
    <beans:beans xmlns="http://www.springframework.org/schema/mvc"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:beans="http://www.springframework.org/schema/beans"
       xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
       <beans:bean id="ssoconfig" class="com.fatwire.wem.sso.cas.conf.CASConfig">
       <beans:property name="casUrl" value="http://server:port/cas" />
       <beans:property name="casInternalURL" value="http://server:port/cas"/>
       </beans:bean>
       <beans:bean id="ssoprovider" class="com.fatwire.wem.sso.cas.CASProvider">
       <beans:property name="config" ref="ssoconfig" />
       </beans:bean>
       <!-- Used for ticket validation. In case of cluster with cas server behind
      firewall, it must point to the cas server. -->
    </beans:beans>
    add the casconfig to the classpath in spring, set the server and port in xml and it works!

  • How to watch forum using Webcenter Discussions REST API

    If I am building an application using WebCenter Discussions REST API, what API should I invoke to watch forum, topic? If it is not available in the REST API, what is the workaround to do the same ?
    Did not find relevant information in the [http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_jive.htm#CHDGJECD] .

    Hi.
    REST Discussions API allow you to get all information that you need. It provides URL to Forums, topics... Or directly you can access to the messages.
    In addition, you can use REST Search API to search into discussion forums if you have Oracle SES.
    Off doc about information that can you get through REST API: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_jive.htm#CHDGJECD
    In the case of that you need more information about provided by REST API or WebCenter API then you can implement your own ADF BC to consume Discussions schema :).
    Regards.
    Edited by: Daniel Merchán on 16-oct-2012 15:16

  • WebCenter DocLib API

    Hello:
    Is there documentation for DocLib APIs available, internally or externally? or JavaDoc?
    Thanks,

    While what has been said is correct (the DocLib Taskflow ) has no public api's , there are api's that can be used for working with content that are provided with WebCenter Framework.
    (1) DataControls
    See: [http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_content.htm#DAFBIBFF|http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_content.htm#DAFBIBFF]
    (2) Content Management REST based API's
    See: http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_rest_api.htm#CDEBFIII
    and more specifically see: http://download.oracle.com/docs/cd/E15523_01/doc.1111/e15813/toc.htm
    Please note that the CM REST api's only support UCM.
    Edited by: Marcus Diaz on Jan 20, 2010 9:47 AM

  • Return data is null while calling Exchange Online rest api using jquery on Chrome and Mozilla

    Hi,
         I am developing a SharePoint hosted app in which I am calling Exchange online rest api using basic authentication to get mail for the user. This works fine in IE but returns null data when opening in Chrome or Mozilla.
    Is there something I am missing while making rest call to api?
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet

    Hi,
    This forum is to discuss problems of Office development such as VBA, VSTO, Apps for Office .etc. But I think your question is related to app for SharePoint. I suggest you posting it in
    App for SharePoint forum for more efficient responses.
    Thanks.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SAP BO 4.1 Webi report sample with prompts to try Restful api

    I was not able to find, in the report demo samples available in the SAP BO 4.1 installation, a Webi report with prompts.
    I found many Webi reports samples but all are without prompts.
    I need at least one Webi report sample with prompts to try the Restful API http://localhost:6405/biprws/raylight/v1/documents/7090/parameters and http://localhost:6405/biprws/raylight/v1/documents/7090/schedules with parameters body.
    Where can I found such webi sample?
    Thanks,
    Riccardo

    As you have BI 4.1 installed, you could design a sample webi report using Webi Rich Client tool.
    Open Webi rich client, select the sample eFashion universe drag few objects in the query and a filter. Set the filter as a prompt and save the report to Enterprise.
    Now you could now use this sample report for your handson on REST SDK.
    -Bhushan

  • How to create a campaign based on a template using the REST API

    Hi CodeIt-ers,
    I'm using the REST API to create campaigns in Eloqua 10, all works well except for 1 thing: I can't seem to create a campaign based on an existing Campaign template.
    Based on the documentation on REST API - Accessing Campaigns I've tried using "sourceTemplateId" (code snippet below) but that did not do the trick.
    Does that functionality simply not work or am I missing something?
    Thanks!
    Ferry
    $campaign_data = new Campaign(); 
    $campaign_data->sourceTemplateId='442';
    $campaign_data->folderId='1137';
    $campaign_data->currentStatus='draft';

    Hi Richard,
    Unfortunately no. I reached out to support, they informed me "sourceTemplateId" could not be used to create new campaigns based on a template, instead they advised to use the "Elements " property as shown in this example: Eloqua REST API - Create a Campaign with a Segment and Email
    Thanks
    Ferry

  • How to create list items with multiple attachment files using rest api javascript

    In one of user form I am using javascript rest api to create a list item with multiple attachment files. So far I am able to create list item and once created uploading an attachment file. But this is two step process first create an item and then upload
    a file.
    It create an additional version of the item which is not desired. Also I am not able find a way to attach multiple files in a go. Following is the code I am using.
    createitem.executeAsync({
                    url: "/_api/web/lists/GetByTitle('UserForm')/items(1)/AttachmentFiles/add(FileName='" + aFile.name + "')",
                    method: "POST",
                    contentType: "application/json;odata=verbose",
                    headers: {
                        "Accept": "application/json;odata=verbose",
                        "X-RequestDigest": $("#__REQUESTDIGEST").val()
                    binaryStringRequestBody: true,
                    body: fileContent,
                    success: fnsuccess,
                    error: fnerror
    So somehow I need to combine item attributes along with attachment files in body: param. I visited https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListItem but no success.
    Appreciate any help.

    Thanks Mahesh for the reply and post you share it was useful.
    But this does not solve the core of the issue. You are uploading attachments after creation of item and multiple files are being attached in loop. This is kind of iterative update to an existing item with attachments. This will end up creating multiple versions. 
    What I am trying to achieve is to create an item along with multiple attachments in a go. No item updates further to attach a file.
    Please suggest how this can be done in one go. SharePoint does it when one creates an item with multiple attachment.
    Thanks for your reply.

  • How to filter the Rest Api data based on Taxanomy columns

    Hi Everyone,
    We are using SharePoint2010 Standard Edition.
    I wanted get the library details through REST Api. I am using as below:
    https://SiteUrl/_vti_bin/listdata.svc/Documents?$filter=Title eq 'SharePointDoc'
    Here I am able to get the info regarding "SharePointDoc". But when I am trying to get the details from Taxonomy filter, it didn't.
    Can anyone please tell me how can we filter based on Taxanomy fields.
    Thanks in Advance
    Krishnasandeep

    Hi,
    I understand that you wanted to filter the Rest Api data based on Taxanomy columns.
    Per my knowledge, in SharePoint 2010 , not all types of column are available via REST, most annoyingly managed metadata columns are amongst this group of unsupported column types.
    However, in SharePoint 2013, we can filter list items based on taxonomy (managed metadata) columns.
    Taxonomy fields can be now called via REST API using CAML query in REST calls.
    Here is a great blog for your reference:
    http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/comment-page-1/
    You’d better to change the REST calls and the CAML query to check whether it works in SharePoint 2010.
    More information:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to get permission of a sharepoint list for a user using REST api

    Hi there,
    I have a requirement where i need to check the access permission of a user against a List or Library only using REST api from my remote salesforce app. [I already have access token and I am able to view list, add item etc..]
    Say for example, I have to send the list name and user name, and get the result as Read, Write, Contribute(Manage), None. I need to display what permission does that user have for that List.
    How do I achieve this. Please help me.
    Thanks in advance.

    Hi,
    For High and low bits, we can create a new SP.BasePermissions object to use like below:
    function success(data){
    var permissions = new SP.BasePermissions();
    permissions.set(SP.PermissionKind.manageLists);
    var hasPermission = permissions.hasPermissions(data.d.EffectiveBasePermissions.High, data.d.EffectiveBasePermissions.Low);
    Here is a detailed article for your reference:
    http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • How to configure some of VMX file configurations / VM Configuration Parameters via vCloudDirector REST API

    Hi
    We need to configure some settings for VM using vCloudDirector REST API other wise which can be down in 2 following ways.
    1. On VCenter -> select VM  ( in Power Off Mode ) -> Edit Settings -> Options -> Advanced -> General -> Configuration Parameters
         Add row with values like below
               ethernet0.ctxPerDev = 1
    2. -OR- directly login to Esxi Shell .. Open VMX file ( of the VM  - which can be located in /etc/vmware/hostd/vmInventory.xml ) and  add entries manually.
          Follow this KB http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1714
          for editing VMX file.
    We would like to know how this can be achieved using vCloud Director REST. We are using 5.5 versions for both VCD and VCenter.
    Thanks for help.
    Regards,
    Murali G D

    This level of modification is not available via vCloud Director's API afaik.  A similar question came up recently about modifying the amount of Video Memory on a VM, which you have to create some sort of custom workflow directly to vCenter/ESXi about.

Maybe you are looking for

  • Time Capsule and Back to my Mac

    Hi there, I found my perfect configuration. A MacBook Air for my daily mobile use and a Time Capsule at home. The only thing that I do not know how to setup and really want to have is: How can I use my new (test-)MobileMe account with "back to my mac

  • Exporting Incoming Payments to Excel - Missing last line

    Forum, On 8.8 PL15 has anyone come across the following problem: When in Incoming Payments for customers, I click on the Excel icon within SAP and save the file as a .TXT file. I then open this up in excel and notice the last line is missing from the

  • How to repeat my menu in every page.

    i have created a baner with 5 buttons and i want to have it in every page that i go that are linked. if i click a button i dont whant the banner and buttons to disappear and show up again. if i click a button i want the banner and buttons to stay wer

  • Javascript a confirm

    demo: <pre><nowiki><!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <a href="content.php?action=delete&id=546&cid=230&mid=1" onclick="return confirm('false');">x</a> </body> </html></nowiki></pre> 1:while i click the

  • Problems with Transport sustitution obbh

    Please have seen guys who had the same problems as me on the time for a quality replacement from obbh. You can tell that has been turning to quality? Since the time to change the light of updated v_t80d has asked me not order transport .. I am also l