Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Shiloh Madsen
    New queryCSV return of CSVTables not parseable1
    Topic posted November 6, 2018 by Shiloh MadsenBronze Trophy: 5,000+ Points, tagged SOAP 
    Title:
    New queryCSV return of CSVTables not parseable
    Summary:
    Unable to iterate through CSVTables result object from querycsv
    Content:

    First, a quick vent. When you update your APIs such that they break addin code because you're adding new required signature objects, can we make sure that all the documentation accurately reflects that? Neither the SOAP api nor the Addin documentation calls this out. I had to search around the forums to handle the auth header element added and the two new ways of getting output from the function. 

    Which brings me to my second question. 

    Previously we were able to just save the output to a CSV Tables output that i could foreach CSVTable table in <CSVTablesObject>: Do stuff. This no longer seems to work because CSVTables is non-enumerable. This new response is not reflected in any documentation that I can find for how to handle for the tables respose required by the new signature line. My query will always return a single table, but the sig wont take CSVTable as an object to out to. I'm getting a resultset just fine from queryCSV, but I don't know how to parse it. Here is essentially what I need to give me a table: foreach (CSVTable table in csvTables) however the csvTables object returned now says non-enumerable wheras the previous return from an older framework version was. How do I have to alter this line to be able to continue reading thru the resultset?

  • Alex Andrade
    SOAP API to export all archive incidents1
    Topic posted November 6, 2018 by Alex Andrade, tagged SOAP 
    Title:
    SOAP API to export all archive incidents
    Summary:
    SOAP API to export all archive incidents
    Content:

    Hello,

    New to Rightnow, I am not sure if someone has been able to do this before.  I am looking to archive all my current cloud archive locally via a SOAP API.

    The current export in the UI of 100 records would not work for us since we have about 5,000,000 records.

    Any help would be great.

    Alex

  • 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 
    Title:
    Pass Oracle report to Salesforce
    Summary:
    Pass Oracle report output to Salesforce
    Content:

    Hi,

    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,

    rome

    Version:
    18c
  • Sebastiaan Draaisma
    Soap XML create exampleAnswered25.0
    Topic last edited October 20, 2018 by Sebastiaan DraaismaBlack Diamond: 60,000+ Points, tagged SOAP 
    Title:
    Soap XML create example
    Summary:
    Create incident for new and exsisting contact
    Content:

    I'm following the XML sample code but I have a hard time understanding the result I get.

    A first attempt gave me Invalid ID: No such Contact with ID = 1 making me believe I need to know the contact id from the contact I'm going to create an incident for (not sure how this would work for new contacts)

    A second attempt I used my exsisting contact id and exsisting details which gave me

    <faultstring>Cannot save/create: Contact: An email address was used that already exists
    While performing create on Contact</faultstring>

    This confused me. I then changed the name and email address while keeping the contact id (just to experiment). The code run without any errors but the result is that a new contact is created with a new contact id and that the incident created in this code is assigned to the contact id used in the code.

    My questions are:

    1. How does one create a new incident for a new contact
    2. How does one create a new incident for an exsisting contact

    EDIT: I think I understand the behavior. From what I understand with my limmited knowledge of API :-) is that this code simply contains 2 non related requests (as I see 2 RNObjects sections)
    1 request to create a new contact & 1 request to create an incident for a specified contact id (correct me if I'm wrong)

    Version:
    Aug 17
    Document:
    Document:
  • Sebastiaan Draaisma
    SoapUI CDATA errorAnswered2
    Topic posted October 19, 2018 by Sebastiaan DraaismaBlack Diamond: 60,000+ Points, tagged SOAP 
    Title:
    SoapUI CDATA error
    Summary:
    Unable to connect
    Content:

    I'm trying to create a soap project and basically just use the OSvC installer URL untill the .cfg part and end it with /services/soap?wsdl
    I have Create Requests enabled and klick OK and get

    Error loading [https://**********.custhelp.com/cgi-bin/**********.cfg/services/soap?wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA

    All profile permissions have been enabled. Any idea what I should do to resolve this?

    Version:
    Aug 17
    Image:
    Document:
  • Prasad
    Error when using RNService.RunAnalyticsReportAnswered5
    Topic last edited October 17, 2018 by PrasadRed Ribbon: 250+ Points, tagged SOAP 
    Title:
    Error when using RNService.RunAnalyticsReport
    Summary:
    Error when using RNService.RunAnalyticsReport
    Content:

    Hi,

    i am not able to use RunAnalyticsReport with RNT service. getting attahced error message. please help me how to fix it.

    .Net Framework: 4.6

    VS: 2107 professional

     

    Thanks

    Prasad

  • Peeyush Sharma
    Knowledge Advanced - Create Media API
    Topic posted October 12, 2018 by Peeyush SharmaGreen Ribbon: 100+ Points, tagged Connect PHP, REST, SOAP 
    Title:
    Knowledge Advanced - Create Media API
    Summary:
    How to upload images and file attachments in Knowledge Advanced using REST API
    Content:

    Hi,

    I am trying to upload file attachments and images on Knowledge Advanced server using REST API but always getting Errors.

    Anyone has ever tried it?

    This is how m trying it out but its failing.

    https://<IM Host>.custhelp.com/km/api/latest/media

    kmauthtoken        {"siteName":"<IM Host>","integrationUserToken":"","userToken":""}

    Accept             multipart/form-data

  • Pramod Vasudeva Murthy
    Skype Integration with OSvC
    Topic last edited October 7, 2018 by Pramod Vasudeva MurthyBlack Diamond: 60,000+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP 
    Title:
    Skype Integration with OSvC
    Summary:
    Skype embodiment in OSvC Agent Desktop
    Content:

    Hi All,

    I have a requirement to integrate OSvC and Skype. There are two ways to go with:

    • Using APIs: Though this more like OSvC Chat APIs, we need to setup our own UI/UX. This is a long, tedious but sure shot process that will yield results.
    • Using Bots: There is a bot API available, but this more of a intermediary as bot answers customer first and then links agent. This is modern, technology ahead and time consuming. And not to mention, there are quite a few unknowns ahead.

    Are there any Connectors available for this? If Yes, please recommend a few.

    Thanks,

    VIP

    Version:
    18C
  • Luuk
    Setting the queue id and status field using the soap api XMLAnswered4
    Topic posted September 15, 2015 by Luuk Bronze Crown: 15,000+ Points, tagged SOAP 
    Title:
    Setting the queue id and status field using the soap api XML
    Content:

    Goodmorning,

    I'm having some issues with the SOAP API.
    I'm trying to set the queue and status on create but I keep receiving the error message: Data element in the Message is NULL

    I tried adding the queue to the code:

    <ns4:Queue>
     <ID xmlns="urn:base.ws.rightnow.com/v1_2" id="12"/>
     </ns4:Queue>

    and the status:

        <ns4:StatusWithType>
                    <ns4:Status>
                    <ID xmlns="urn:base.ws.rightnow.com/v1" id="4" />
                    </ns4:Status>
                </ns4:StatusWithType>

    Is there someone who can tell me what I'm doing wrong because the documentation is a bit vague on the matter.

    I've attached the entire code to the this post in the code block.

    Thank you very much in advance.

    Kind Regards,
    Luuk

    Version:
    Aug 14
    Code Snippet:
  • Bharath Lohray
    PHP & SOAP APIAnswered5
    Topic last edited October 29, 2011 by Bharath LohrayBlue Ribbon: 750+ Points, tagged SOAP 
    Title:
    PHP & SOAP API
    Content:

    I know that RightNow does not support PHP as a platform for the SOAP API. However, I was wondering if I could get some suggestiosn on how to parse an XML response that I received in php.

    I had attempted to use simpleXML and all I reecived was

    SimpleXMLElement Object
    (
    )
    

    I am looking for a way to parse the XML the right way. I would really like to avoid making a hack and work around kind of a program.

     

    Thank you.

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