Integrations and APIs for Service

Get Involved. Join the Conversation.


  • Mike Waldron
    REST queryResults Resource/Endpoint Not WorkingAnswered155.0
    Topic posted July 25, 2016 by Mike WaldronGold Medal: 3,500+ Points, tagged REST 
    REST queryResults Resource/Endpoint Not Working

    I'm trying to run a ROQL tabular query with the REST queryResults resource/endpoint. According to the documentation, I should be able to do this, but...ain't workin', even when I copy-and-paste the example directly out of the documentation.

    One peculiarity I've noticed is if I hit
    ?query=select id,subject from incidents where id<=10;

    (query from the documentation) there's an extraneous space in between the last slash and the question mark...which may be an artifact of the line break. If I leave it, I get a 200 OK...but no results. If I take it out, I get a 400 Bad Request. Neither result is useful.

    I'm trying to do this on Feb '16. Is there a bug in this REST resource, is something missing from the documentation, or is some other thing going on? Anyone dealt with/resolved this before?





  • Mike
    RESTFUL Bulk Delete Incident AttachmentsAnswered13
    Topic posted May 10, 2019 by MikeBronze Medal: 1,250+ Points, tagged REST 
    RESTFUL Bulk Delete Incident Attachments
    Is there a method to bulk delete attachments from incidents?

    Referencing the API Guide I was able to figure out how to delete attachments from individual incidents. For example 

    curl -k -H 'OSvC-CREST-Application-Context:Delete incident attachments' -X DELETE ""

    I was curious if anyone know's of a way to perform a bulk delete of attachments but preserve the incident?



  • Romark George Armor Palaganas
    Pass Oracle report to SalesforceAnswered11
    Topic posted October 30, 2018 by Romark George Armor PalaganasRed Ribbon: 250+ Points, tagged REST, SOAP 
    Pass Oracle report to Salesforce
    Pass Oracle report output to Salesforce


    I'm new in OSC CRM, just wanted to ask if what is the first step on getting this task done. 

    Client would like to get the output of a report from OSC CRM going to Salesforce. 


    Thank you,


  • Julie F
    OSC-CREST-00028 You are forbidden to access this site.Answered10
    Topic posted June 28, 2019 by Julie FBronze Crown: 15,000+ Points, tagged Connect PHP, REST 
    OSC-CREST-00028 You are forbidden to access this site.
    API to update custom objects gives 403 Forbidden error

    We have set these two configurations settings correctly for our domain:



    We have given a user specifically set up permissions for our custom objects and have also tried with a full admin account.

    We keep getting 403 Forbidden error which shows OSC-CREST-00028 You are forbidden to access this site.

  • David Wright
    REST API - analyticsReportResults return nested JSON format95.0
    Topic posted July 18, 2017 by David WrightBlue Ribbon: 750+ Points, tagged REST 
    REST API - analyticsReportResults return nested JSON format

    Does anyone know if it is possible to change the format / nesting of the JSON as returned by the analyticsReportResults function of the REST api?

    Ideally we want something like:




    If not possible using the Analytics report function would there be any other way to achieve it using the REST API?

    Thanks, David

  • Michael Locurcio
    Freeboard with REST API9
    Topic posted March 14, 2016 by Michael LocurcioSilver Trophy: 7,500+ Points, tagged REST 
    Freeboard with REST API

    Does anyone have any experience using Freeboard with the Rest API. 

    This could be a very powerful and economical way to build web dashboard outside of Oracle for use on readerboard, executives, etc, without the overhead and license needed for the client.

    I can't figure out how to get freeboard to authenticate with the Rest API.

  • Carl Bramblett
    Giving an Account Permissions to Access the REST APIAnswered8
    Topic posted September 27, 2019 by Carl BramblettSilver Medal: 2,000+ Points, tagged REST 
    Giving an Account Permissions to Access the REST API
    What is the setting in the console that allows a user to access the REST API?


    What is the setting to allow a user to access the REST API? We currently have one admin account that is able to do it, but wish to create a second one that will be used exclusively for automated scripts. As far as I can tell both accounts are identical (both admin accounts), but only one of them is able to use the API. The other account receives an error that they are not authorized.


    I'm sure it's a simple setting, but helping me locate it in the Oracle labyrinth would be greatly appreciated! :)




    Code Snippet:
  • Sathya Rajendran
    Error Code "OSC-CREST-00006" when using REST APIAnswered8
    Topic posted December 10, 2018 by Sathya RajendranGold Medal: 3,500+ Points, tagged REST 
    Error Code "OSC-CREST-00006" when using REST API

    Hello all,

    I am trying to create custom object using rest api and get OSC-CREST-00006 error.

    {type: "",…}
    detail: "Invalid type specified for property myobject.IncidentID"
    instance: ""
    o:errorCode: "OSC-CREST-00006"
    status: 400
    title: "An attempt to write a resource failed"
    type: ""

  • Sebastiaan Draaisma
    javascript GET example not workingAnswered85.0
    Topic posted October 21, 2018 by Sebastiaan DraaismaBlack Diamond: 60,000+ Points, tagged REST 
    javascript GET example not working
    Oracle Learning Subscription

    I'm doing a javascript example in what seems an example created in 2016. I followed the instructions but I get an undefined error. The constructed URL does work in the browser. Is it possible that there is an error in the sample code (or that url calls may have changed?)

    Aug 17
  • Michel Jilderda
    Getting all Incident Threads in one call via REST?Answered8
    Topic posted February 7, 2017 by Michel JilderdaBlue Ribbon: 750+ Points, tagged REST 
    Getting all Incident Threads in one call via REST?

    Hi all, 
    we are building a separate webpage where we want to show incident details on an external webpage. While we have built this before using SOAP, we are using the REST API now. One of the things we run into is this: 
    With a SOAP request, it was possible to get all incident threads in 1 soap call. 

    With the REST API there does not seem to be a way to do this in 1 call. So what we need to do to show the threads is a lot of calls to the API, which causes delay in loading the page. 

    These are the calls we do now. We have the incident reference number to start with, so this is the sequence of calls to the REST API. 

    1. Get incident ID for reference number
    2. Get Incident details
    3. Get Threads for Incidents{{exampleIncidentID}}/{{exampleThreadID}}
    4. Now we can loop through all the threads.
    5. Now, to populate the threads with the correct account names, we also need to get all the account names for the threads again.

    Again, for SOAP this was a lot easier. Are we missing something? Is there a way to pull this from REST as well without doing 10+calls to get all incident details? 


Filter by Date

< < November 2019 > >
          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