Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Andy Townshend
    Update IncidentQueue Name25.0
    Topic posted April 4, 2019 by Andy TownshendSilver Medal: 2,000+ Points, tagged Connect PHP, REST 
    Title:
    Update IncidentQueue Name
    Summary:
    Is it possible to rename queues outside of the agent console?
    Content:

    I am looking to create a tool that allows our agents to log into and perform various configuration changes. This is to avoid giving a profile blanket access to all of the configuration permissions, but still allowing them to perform certain actions.

     

    I am able to pull a list of all our Queue names by using a RNCPHP\ROQL::query on the IncidentQueue object. However, I do not see any documentation about updating/saving to this object. 

    I have also located the same records using a REST call to /services/rest/connect/v1.4/namedIDs/incidents/queue/, but this seems to only support GET and not PATCH.

     

    Is there a way to overwrite a queue name using these or other methods?

     

    Thanks!

    Version:
    Oracle Service Cloud 18B
  • 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:
  • kishore kumar kuna
    How many image files can migrate in one Content/Media post...5.0
    Topic posted December 14, 2018 by kishore kumar kunaGreen Ribbon: 100+ Points, tagged REST, SOAP 
    Title:
    How many image files can migrate in one Content/Media post request
    Summary:
    How many image files can migrate in one Content/Media post request
    Content:

    Hi All,

    We have requirement to migrate bunch of image files from legacy system to OKA by using Content/Media Rest API.

    http://<IM_REST_API_HOST>/km/api/latest/media 

    Any idea, how many files we can keep in one array and migrate in one post request. 

    Thank You

    Kishore Kuna

     

  • Chris Rogers
    REST API: Sub collection fields55.0
    Topic posted November 28, 2018 by Chris RogersBronze Medal: 1,250+ Points, tagged REST 
    Title:
    REST API: Sub collection fields
    Summary:
    How to expand a sub collection?
    Content:

    Hello

    Does anyone know how to expand / get specific fields from a sub collection?

    Specifically I'd like to get all the columns for a report, without having to do a REST call for each column...

    EG

    /services/rest/connect/v1.4/analyticsReports

    {
      "items": [
        {
          "id": 1,
          "lookupName": "Answer Notifications by Answer",
          "createdTime": "2007-02-01T00:00:00.000Z",
          "updatedTime": "2007-02-01T00:00:00.000Z",
          "links": [
            {
              "rel": "canonical",
              "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1"
            }
          ]
        },
    ...
    
    

    Gets all reports, yay

     

    /services/rest/connect/v1.4/analyticsReports?fields=name

    {
      "items": [
        {
          "id": 1,
          "lookupName": "Answer Notifications by Answer",
          "createdTime": "2007-02-01T00:00:00.000Z",
          "updatedTime": "2007-02-01T00:00:00.000Z",
          "name": "Answer Notifications by Answer",
          "links": [
            {
              "rel": "canonical",
              "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1"
            }
          ]
        },
    ...
    

    Gets all reports, including the field 'name', yay.

     

    /services/rest/connect/v1.4/analyticsReports/1

    {
      "id": 1,
      "lookupName": "Answer Notifications by Answer",
      "createdTime": "2007-02-01T00:00:00.000Z",
      "updatedTime": "2007-02-01T00:00:00.000Z",
      "columns": {
        "links": [
          {
            "rel": "self",
            "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1/columns"
          },
          {
            "rel": "full",
            "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1/columns/{column_id}",
            "templated": true
          }
        ]
      },
    

    Gets a specific report, yay

    /services/rest/connect/v1.4/analyticsReports/1?expand=columns

    or /services/rest/connect/v1.4/analyticsReports/1/columns

    "columns": {
        "items": [
          {
            "rel": "canonical",
            "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1/columns/0"
          },
          {
            "rel": "canonical",
            "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1/columns/1"
          },
          {
            "rel": "canonical",
            "href": "https://service.elsevier.com/services/rest/connect/v1.4/analyticsReports/1/columns/2"
          }
        ],
    

    Just expands columns into links :(

     

    /services/rest/connect/v1.4/analyticsReports/1/columns?expand=all  - Nope :(

    /services/rest/connect/v1.4/analyticsReports/1/columns?fields=heading - Nope :(

     

    Anyone have any smart ideas that I've missed?

    I don't really want to have to do web requests for each column, eg

    /services/rest/connect/v1.4/analyticsReports/1/columns/0
    /services/rest/connect/v1.4/analyticsReports/1/columns/1
    /services/rest/connect/v1.4/analyticsReports/1/columns/2
    /services/rest/connect/v1.4/analyticsReports/1/columns/3
    /services/rest/connect/v1.4/analyticsReports/1/columns/.....
    

    Thanks

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

    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?)

    Version:
    Aug 17
    Document:
  • 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
  • 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:
  • David Ritchie
    Filter format for date between in Rest APIAnswered2
    Topic posted October 30, 2019 by David RitchieBlue Ribbon: 750+ Points, tagged REST 
    Title:
    Filter format for date between in Rest API
    Summary:
    Format for an analyticsReport filter for date between
    Content:

    Hi,

    I'm trying to use the RESTful API to trigger an analyticsReportResults programmatically.  This is working fine but now I am trying to pass through a filter.  I looked in the documentation and it hows how to send a filter for name but my report has a filter which is between two dates.  I can't find anything in the documentation which shows how these two dates should be formatted.  I don't know if each date is a different filter, or if they both go in the same filter with some kind of differentiation.

    Any help appreciated,

    Dave

    Version:
    19B
  • Igor Touguinhó
    [Knowledge Advanced] Adding attachment to content2
    Topic posted October 30, 2019 by Igor TouguinhóBlue Ribbon: 750+ Points, tagged REST 
    Title:
    [Knowledge Advanced] Adding attachment to content
    Summary:
    How can I add attachments to content using rest api
    Content:

    I'm trying to develop an application that creates contents on my KA. First, I was only creating and publishing contents with text fields, but now I want to add attachments to the contents, even using UPDATE or CREATE service.

    I did not found on documentation how can I do this. 

    Need some help to create this integration, anybody can help me ?

    Version:
    KA 19C
  • Igor Touguinhó
    [Knowledge Advanced] Update content errorAnswered5
    Topic posted October 28, 2019 by Igor TouguinhóBlue Ribbon: 750+ Points, tagged REST 
    Title:
    [Knowledge Advanced] Update content error
    Summary:
    I can't update any content because of a recordId invalid error
    Content:

    Hello,

    I'm testing update content service on KA Rest API, but I'm getting the following error (see code below):

    {
        "error": {
            "title": "An application error has occurred. Root cause: Invalid value for [299EF269FFDE46789E02D43A2C8E952C]",
            "errorPath": null,
            "errorCode": "OK-GEN0003",
            "type": "APPLICATION",
            "detail": null
        },
        "errorDetails": [
            {
                "title": "Invalid value for [299EF269FFDE46789E02D43A2C8E952C]",
                "errorPath": "recordId",
                "errorCode": "OK-GEN0024",
                "type": "VALIDATION",
                "detail": null
            }
        ]
    }

     

    I got this recordId on GET content service:

    {
        "recordId": "299EF269FFDE46789E02D43A2C8E952C",
        "versionId": "2EFC2007AAC543DAB3989CDB80864F82",
        "documentId": "INT95",
        "title": "TEST CONTENT",
        "version": "1.0",
        "answerId": 1004336,
        "locale": {
            "recordId": "pt_BR"
        },
        "dateModified": "2019-10-25T17:02:52-0300",
    }

    I need help !!!

    Version:
    19C
    Code Snippet:

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