Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • jagadeesh gattupalli
    Access Service cloud Managed tables through REST API and...Answered1
    Topic posted November 6, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged Connect PHP, REST 
    Title:
    Access Service cloud Managed tables through REST API and ROQL
    Summary:
    How to access Service cloud Managed tables into REST API and ROQL
    Content:

    HI ,

    Can any one help me how to access Managed tables from REST API and  through ROQL ?

    SurveyQuestions

    SurveySession

    ContentRatingSummaries

    ...... (more)

    From ROQL when I execute below query I am getting error "Invalid object name: Survey".

    SELECT SurveyQuestions.* FROM Survey WHERE ID=3;

     

    Kind Regards

    Jagadeesh G

    Version:
    19B
  • Haakon Lotveit
    Adding a message to incident threads using the REST API...Answered2
    Topic posted August 3, 2018 by Haakon Lotveit, tagged REST 
    Title:
    Adding a message to incident threads using the REST API (v1.3)
    Content:

    I am talking to RightNow using REST. I have an incident, and I need to add a new message to the incident.

    While I have searched for answers I have not found anything.

    I have tried to post to {rightnow-base-url}/services/rest/connect/v1.3/incidents/{incident-id}/threads, put to the same, and a put {rightnow-base-url}/services/rest/connect/v1.3/incidents/{incident-id} but it didn't work.

    Does anyone have any tips? Or even better a link to some docs that describe it?

    Version:
    Using version 1.3 of the REST API of RightNow/Service Cloud
  • Sanjay Kumar
    Advance knowledge API, how to find/update schema attribute...
    Topic posted May 21, 2019 by Sanjay Kumar, tagged REST 
    Title:
    Advance knowledge API, how to find/update schema attribute permissions assigned to articles
    Summary:
    How to find/update schema attribute permissions assigned to articles using OKCS API
    Content:

    hi Team, I have been asked to find articles who has a specific attribute set with particular permissions (user groups) assigned. we are using OKCS API since last 3 years but there were few articles that were set with old schema attribute that has a particular UG assigned. now we need to remove those permissions from that attribute so that it can inherit article level permissions. we have around 10000 articles and it would be a good idea to use API instead of manually going through each article and find and fix the articles. I couldn't find any reference to this approach, any help would be appreciated

    thank you

    Sanjay

     

    Version:
    17 -D
  • Guillaume Dauphin
    Answer API collection25.0
    Topic posted February 14, 2019 by Guillaume DauphinBlue Ribbon: 750+ Points, tagged REST 
    Title:
    Answer API collection
    Summary:
    Status of Answer : API Retrieve collection
    Content:

    Hello,

     

    I am trying to use the GET answer collection API :

    https://docs.oracle.com/en/cloud/saas/service/18d/cxsvc/op-services-rest-connect-v1.4-answers-get.html

    I am able include several Answer's fields into the response (language, summary, solution). However I cannot have the Status information.

    I tried the following syntax : fields:summary,question,language,statusWithType,solution

    Do you have any information please ?

    Guillaume

    Version:
    18D
    Code Snippet:
  • Mohammad Sufiyan
    API (REST/SOAP) to get Tasks and Tasks List...
    Topic posted May 10, 2019 by Mohammad Sufiyan, tagged REST, SOAP 
    Title:
    API (REST/SOAP) to get Tasks and Tasks List Definations
    Summary:
    What is the REST/SOAP API we can use to get the Setup Tasks and Tasks List information like taskcode, business objects etc.
    Content:

    Hi,

    We are building an automation tool to export the Setup Data from Oracle Cloud (SAAS). We are using the https://<INSTANCE_DOMAIN>/fscmService/SetupDataExportImportService?WSDL webservice to do task data export and import. For now, I am getting the TASK code details manually by navigating to the "Manage Task Lists and Tasks" page.

    Here is the navigation I am following.

    Setup and Maintenance -> Manage Setup Content -> Click on "Manage Task Lists and Tasks" -> Enter the Task name Eg: "Manage Business Unit" and search.
    It shows the task details with Task Code. I need all the list of Tasks and their business objects information. Is there any other way to get this information?

     

    Image:
  • Joseph Mastriano
    API Field Names For REST Service Using ROQLAnswered7
    Topic posted May 9, 2019 by Joseph MastrianoGreen Ribbon: 100+ Points, tagged REST 
    Title:
    API Field Names For REST Service Using ROQL
    Summary:
    Need to find out API Field names to use in REST calls using ROQL
    Content:

    Hello, I am looking to find out where I find the fields names to using in REST API service using ROQL.  In the example below which was posted in another post where would I find a emails.address?  Basically if I'm going to use ROQL I am looking to find out where I get those field names to use in my query.

    https://site/services/rest/connect/latest/contacts/?q=emails.address='user@company.com'

    Thanks!

    Joe

  • Jonathan Doringuez
    API for Application Level Menus
    Topic posted November 16, 2018 by Jonathan DoringuezBlue Ribbon: 750+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP 
    Title:
    API for Application Level Menus
    Summary:
    Importing and Exporting Workspaces API
    Content:

    Did someone found something like the API's or the command line interface (CLI) for Service Cloud? CLI should be applicable to both AD and Portal for the purpose of automating the migration of files to higher environment.

    I'm also looking for a documentation about command line interface for Oracle Service Cloud (CLI), where can I find it? This is for both AD and Portal pages, API for importing and exporting workspace

    In addition where can I find the API equivalent for all the application level menus and buttons?

    Version:
    18C
  • Sean O'Connor
    Assistance with Taleo Business Edition REST API - RESUME...1
    Topic posted September 4, 2019 by Sean O'Connor, tagged REST 
    Title:
    Assistance with Taleo Business Edition REST API - RESUME Attachment
    Summary:
    Taleo Business Edition REST API - RESUME Attachment
    Content:

    Hello Oracle User Community -

     

    Regarding the Taleo Business Edition REST API documented here:  https://www.oracle.com/technetwork/documentation/tberestapiguide-v15b1-2665296.pdf

     

    In particular, we're having issues using the RESUME Attachment end point.

     

    As outlined in the above documentation:

     

    Update a candidate resume

    POST /candidate/{id}/resume

    The update will replace the old attachment with the new attachment and description. Using “multipart/form-data” POST request.

    Optional request parameter: description If the request parameter description is not sent, the attachment entity description field will use the file name as the description.

    Example:

    http method POST

    https://stgweb1.tbetaleo.com/QANA3/ats/api/v1/object/candidate/82/resume

    Header must include: {:file=>#,:multipart=true}

    For additional information about multipart/form-data, refer to mutilpart/form-data specification (www.w3.org). http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2

    Example header for posting a Word attachment or resume:

    {:file => File.new(“/local/path/zip/resume.doc”, ‘rb’), :content_type => “application/msword”, :multipart => true}, {:cookies => {:authToken => “webapi26117672355175654454”}})

     

    We are having difficulty with the specification above for the headers. 

     

    Does anyone have a working client program that can be shared to assist us in determining the proper header configuration?  Doesn't matter what language or platform, we can decipher it from any example code.

     

    Here is an example of how we are currently constructing the client in Java.  This request is currently returning a 200 response (success) but the resume is not showing up on the candidate profile;  additionally, there is no additional json payload from the endpoint to help detail the call.  Thank you for any insights, sample code or ideas.

     

       public static void postResume(String authToken) throws IOException {

        // Connect to the web server endpoint

        URL serverUrl = new URL("https://chp.tbe.taleo.net/object/candidate/<candidateid>/resume");

        HttpURLConnection urlConnection = (HttpURLConnection) serverUrl.openConnection();

        

        String boundaryString = "*****" + Long.toString(System.currentTimeMillis()) + "*****";

        String fileUrl = "C:/_resume/resumeTest.docx";

        File resume = new File(fileUrl);

        

        // Indicate that we want to write to the HTTP request body

        urlConnection.setDoOutput(true);

        urlConnection.setRequestMethod("POST");

        urlConnection.addRequestProperty("Content-Type", utf8("multipart/form-data; boundary=" + boundaryString));  

        urlConnection.addRequestProperty("File", utf8(fileUrl + ", content_type=application/msword, multipart=true"));

        urlConnection.addRequestProperty("Cookie", utf8(authToken));

        urlConnection.setUseCaches(false);

        urlConnection.setDoOutput(true);

        urlConnection.setDoInput(true);

        

        OutputStream outputStreamToRequestBody = urlConnection.getOutputStream();

        BufferedWriter httpRequestBodyWriter = new BufferedWriter(new OutputStreamWriter(outputStreamToRequestBody));

        

        httpRequestBodyWriter.write(utf8("\n\n--" + boundaryString + "\n"));

        

        // Write the actual file contents

        FileInputStream inputStreamToLogFile = new FileInputStream(resume);

        

        int bytesRead;

        byte[] dataBuffer = new byte[1024];

        while((bytesRead = inputStreamToLogFile.read(dataBuffer)) != -1) {

            outputStreamToRequestBody.write(dataBuffer, 0, bytesRead);

        }

        

        outputStreamToRequestBody.flush();

        

        // Mark the end of the multipart http request

        httpRequestBodyWriter.write(utf8("\n--" + boundaryString + "--\n"));

        httpRequestBodyWriter.flush();

        

        // Close the streams

        outputStreamToRequestBody.close();

        httpRequestBodyWriter.close();

      

        // Read response from web server, which will trigger the multipart HTTP request to be sent.

        System.out.println(urlConnection.getResponseCode());

        BufferedReader httpResponseReader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));

        String lineRead;

        while((lineRead = httpResponseReader.readLine()) != null) {

            System.out.println(lineRead);

        }  

      

    Version:
    19C
  • Jim Reynolds
    Bulk Extract Incidents1
    Topic posted November 3, 2019 by Jim ReynoldsRed Ribbon: 250+ Points, tagged REST 
    Title:
    Bulk Extract Incidents
    Content:

    Hello,

    I am running a bulk extract of incidents using the REST API. Has anyone done this before? Can anyone give me a rough estimate of the time it will take before I am able to download the extract?

    When looking up the progress of the extract the only information is available is that is is still in the "run" state. 

     

    Image:
  • Syed Mazhar Hasan Qadri
    Calling a named event using JS APIAnswered3
    Topic posted October 15, 2018 by Syed Mazhar Hasan Qadri, tagged REST 
    Title:
    Calling a named event using JS API
    Summary:
    I need to call named event from my browser control.
    Content:

    I have some data in a webpage that is loaded in a workspace via a browser control. What I need to do is to raise a named event from Javascript code when data in browser control is changed, so that I can update the workspaces accordingly.

    Thank you in advance.

    Version:
    18C

Filter by Date

< < November 2019 > >
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Filter by Type