Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Manjit SIngh Arora
    Event notifications Implementation via SOAP API5.0
    Topic posted June 26, 2019 by Manjit SIngh AroraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Event notifications Implementation via SOAP API
    Summary:
    I am not able to get the response although i am able to create Event Subscription via SOAP UI
    Content:

    Hi Everyone,

    I am trying to implement EventSubscriptionNotification via SOAP whenever an contact is created in Instance. i could create instance of eventSubscription through Soap API. Also record is getting created in EventSubscription object where endpoint is set. But i am not able to get the respond at the endpoint URL.

    Could anyone suggest me detailed steps what configuration needs to be done at enpoint URL if any.

    or any detailed steps for implementing the same.

    Note*: I have followed this thread , will appreciate if anyone else has this figured out in detailed.

    Thanks!

     

     

     

    Code Snippet:
  • Kelvin Chung
    Detect user response incident email and trigger CPM PHP...35.0
    Topic posted December 21, 2018 by Kelvin ChungGreen Ribbon: 100+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    Title:
    Detect user response incident email and trigger CPM PHP curl to call web service
    Summary:
    Tigger PHP c
    Content:

    I am new to RNT and try to detect user response incident email and trigger CPM  to call web service. I am using PHP to get the change in an incident when user response email in the thread automatically without customer service representation involves by checking the old and new thread to see if there is any change. See code below. I already verify curl_exec() works for soap request on my service.

    Q1) Do you think above will work to detect user reply incident email?

    Q2) I use Execute Async option, will above automatic retry if curl_exec() fail to connect remote server?

    I can only test in debugging and not able to test in deploy. That's why I would like to verify before sending the code to deployment.

    I appreciate any help.

     

     

     

     

    Version:
    August 2017
    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

     

  • Sebastiaan Draaisma
    Soap XML create exampleAnswered25.0
    Topic posted 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:
  • Peter Keegan
    SOAP API Contacts - convert code from Custom Field to Obj...2
    Topic posted October 8, 2019 by Peter KeeganGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    SOAP API Contacts - convert code from Custom Field to Obj Designer Package fields
    Summary:
    how do we convert our C# code to update Contact package fields instead of Custom Fields
    Content:

    We've been updated Contact custom fields successfully for years, however in OSvC we are converting these CFs to fields in the Object Designer in a Contacts package "CO".

    What is the simplest way to convert our C# code to update Contact package fields instead of custom fields?

    (the package fields will have the same name). Code snippet is the skeleton of the c# that is currently used to update on CF "dept".

    On attached PNG, there is the new "Dept" field in Object Designer package.

    ***UPDATED: I attached a document of new code that is attempting to add an object as a child field to Contact package "CO".

    using the sample code from http://documentation.custhelp.com/euf/assets/devdocs/cloud19c/Connect_Web_Services_for_SOAP/Default.htm

    I am getting an null reference error when I run a CREATE with the new object:  StackTrace: " at <>x.<>m0(RightNowClient <>4__this)"

    In sample code, what are Namespace and Typename?

    Do these correspond to the OSvC package name?

                    objType.Namespace = "CO";
                    objType.TypeName = "RMA";

    Version:
    WSDL 1.3
    Image:
    Code Snippet:
  • chidambaram CT
    Left Join contact with Custom ObjectAnswered1
    Topic posted September 23, 2019 by chidambaram CTBronze Trophy: 5,000+ Points, tagged Connect PHP, SOAP 
    Title:
    Left Join contact with Custom Object
    Summary:
    Left Join contact with Custom Object
    Content:

    I have custom object CO.EmploymentDetails with fields Branch,ContactID etc.. This custom object is related to Contact.


    select ID,Contact.CustomFields.c.membership_number,Branch from custom object from Contact C 
    where Emails.EmailList.AddressType.ID=0 and ID=163085


    Can you provide me syntax to get branch?

  • NickL
    Unable To Create Attachments Using RightNow Adapter When...
    Topic posted September 19, 2019 by NickL, tagged SOAP 
    Title:
    Unable To Create Attachments Using RightNow Adapter When Using Create Incident
    Summary:
    Although attachments are created, they are not complete
    Content:

    I'm currently using the RightnNow adapter from BPEL to create new Incidents in Oracle Service Cloud.

    The Incidents are created successfully, along with the attachment, but when the attachment is viewed in AgentWeb, it shows as being only 57 bytes.

    The payload sent to Oracle Service Cloud is as below:

    <InvokeRightNowIncidentCreate_Create_InputVariable>
       <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
          <Create xmlns="http://xmlns.oracle.com/pcbpel/adapter/rightnow/[removed]/ProcessCXService/RightNowIncidentCreate/types">
             <Incident>
                <Category xmlns="urn:objects.ws.rightnow.com/v1_4">
                   <Name xmlns="urn:base.ws.rightnow.com/v1_4">Contracts</Name>
                </Category>
                <Channel xmlns="urn:objects.ws.rightnow.com/v1_4">
                   <Name xmlns="urn:base.ws.rightnow.com/v1_4">Post</Name>
                </Channel>
                <IncidentCustomFields xmlns="urn:objects.ws.rightnow.com/v1_4">
                   <c>
                      <sr_type>
                         <Name xmlns="urn:base.ws.rightnow.com/v1_4">Request</Name>
                      </sr_type>
                   </c>
                </IncidentCustomFields>
                <FileAttachments xmlns="urn:objects.ws.rightnow.com/v1_4">
                   <FileAttachmentList action="add">
                      <ContentType>application/pdf</ContentType>
                      <Data>
    JVBERi0xLjYKJfH59/YKJTMuNS1MTXgxOTIwLjE0NTcyCjUgMCBvYmoKPDwvRmlsdGVyL0ZsYXRl
    ...
    ...
    ...
                      </Data>
                      <FileName>GNTRXSM-1_20190822_2_6bb5cdc1-4270-4bbd-9e6a-110403946d8e_CX-GENERIC_HO.PDF</FileName>
                      <Description>GNTRXSM-1_20190822_2_6bb5cdc1-4270-4bbd-9e6a-110403946d8e_CX-GENERIC_HO.PDF</Description>
                      <Name>GNTRXSM-1_20190822_2_6bb5cdc1-4270-4bbd</Name>
                   </FileAttachmentList>
                </FileAttachments>
                <PrimaryContact xmlns="urn:objects.ws.rightnow.com/v1_4">
                   <Contact>
                      <Name xmlns="urn:base.ws.rightnow.com/v1_4">Scanning Dummy</Name>
                   </Contact>
                </PrimaryContact>
                <Product xmlns="urn:objects.ws.rightnow.com/v1_4">
                   <Name xmlns="urn:base.ws.rightnow.com/v1_4">Employee Changes</Name>
                </Product>
                <Subject xmlns="urn:objects.ws.rightnow.com/v1_4">Contracts</Subject>
             </Incident>
          </Create>
       </part>
    </InvokeRightNowIncidentCreate_Create_InputVariable>
    

    The call is successful, and returns the ID of the newly created Incident::

    <InvokeRightNowIncidentCreate_Create_OutputVariable>
       <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
          <ns0:CreateResponse xmlns:n0="urn:messages.ws.rightnow.com/v1_4" xmlns:n2="urn:base.ws.rightnow.com/v1_4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:n1="urn:objects.ws.rightnow.com/v1_4" xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/rightnow/[removed]/ProcessCXService/RightNowIncidentCreate/types">
             <ns0:Incident xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/rightnow/[removed]/ProcessCXService/RightNowIncidentCreate/types">
                <n2:ID id="2067"/>
             </ns0:Incident>
          </ns0:CreateResponse>
       </part>
    </InvokeRightNowIncidentCreate_Create_OutputVariable>
    

    However, when viewing the Incident in Oracle Service Cloud (see uploaded image) attachment file size is shown as 57 bytes.

    When downloading the attachment, and opening the file in Notepad++, only the following lines are present:

    %PDF-1.6
    %סשקצ
    %3.5-LMx1920.14572
    5 0 obj
    <</Filter/Flate
    

     

     

    Version:
    JDeveloper 12.1.2.3.0/WebLogic 12.1.2.3.0/Oracle Service Cloud 18B (Build 274) - Browser UI Version 3.19.09.06-b0002
    Image:
  • Baljeet Singh
    REST API Call Limit Per Day1
    Topic posted September 18, 2019 by Baljeet SinghRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST, SOAP 
    Title:
    REST API Call Limit Per Day
    Summary:
    Limit to call different REST API for different end point
    Content:

    Hi,

    I am curious to know the limit of REST API call per day to service cloud. How many times we can call REST API endpoint for different objects i.e. Incident, Contact, Organization etc. We have requirement where volume of incident creation is 3 Millions per year. We have integrated OSvC with third party system. Every time incident is create in OSvC we need to call REST API end point to sync data with third party software but volume of call is more then we expected initially.  

    I believe there is per day REST API call limit.

    Does anyone knows API limits per minute , per day & number of transactions ?

    Appreciate your support

    Baljeet Singh

     

    Version:
    Oracle Service Cloud 19 B
  • kate James
    VB.Net and Soap web services4
    Topic posted September 12, 2019 by kate JamesRed Ribbon: 250+ Points, tagged SOAP 
    Title:
    VB.Net and Soap web services
    Summary:
    .NET API to create user accounts
    Content:

    Hi,

    I am looking to automate the account provisioning for users. I've found useful information in the oracle documentation for Java, C# and so on. However, I am looking to use VB.Net, so I would like to know if someone in the community has attempted to do this. If so, can you please comment on your experience and challenges you encountered

    Thanks,

    Kathy

    Version:
    19A
  • Azfar Hussain
    Need to Create New Incident via integration on oracle...2
    Topic posted September 4, 2019 by Azfar HussainRed Ribbon: 250+ Points, tagged REST, SOAP 
    Title:
    Need to Create New Incident via integration on oracle Service Cloud
    Summary:
    Need to Create New Incident via integration on oracle Service Cloud
    Content:

    Do we have any API / Web service available for creating an incident on oracle Service Cloud.??

     

    br

    Azfar.

Filter by Date

< < October 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 31    

Filter by Type