Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Peter Keegan
    SOAP API Contacts - convert code from Custom Field to Obj...1
    Topic last edited October 9, 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:
  • Conor Hughes
    Bulk Export of Incidents via Print Preview using SOAPAnswered3
    Topic posted August 30, 2019 by Conor HughesGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Bulk Export of Incidents via Print Preview using SOAP
    Summary:
    Bulk Export of Incidents via Print Preview using SOAP
    Content:

    I recently received a request from a client for the bulk exporting of a large volume of incidents in a readable format. Looking at the 'Incident Print' message template, I can see that a SOAP API call for 'message_render' is being made when pressing the 'Print' button on incidents - however looking in the WSDL on our site I can see that this call isn't exposed to us for use elsewhere.

    Does anyone know of any exposed functionality that would allow for the bulk exporting of incidents in a user-friendly format? I know I could pull back the incident fields & iterate over the threads and export via a few of the API's, but that is rather involved for the volumes we need to export in the given time frame.

    Version:
    19A
  • 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.

  • Dev Aditya
    SOAP XML request to create SLA instance and assign it to...Answered4
    Topic posted August 29, 2019 by Dev AdityaGold Trophy: 10,000+ Points, tagged SOAP 
    Title:
    SOAP XML request to create SLA instance and assign it to new contact
    Summary:
    SOAP XML request to create SLA instance and assign it to new contact
    Content:

    Hi Experts,

    I couldn't find any documentation to create contact with multiple SLA instances assigned to it, using SOAP XML request. If anyone has worked on it, please help me with syntax.

     

    Many Thanks,

    Dev

  • Sagar Paswala
    SOAP XML TO Update Address and Custom field with Name and Id...
    Topic posted August 28, 2019 by Sagar Paswala, tagged SOAP 
    Title:
    SOAP XML TO Update Address and Custom field with Name and Id Configuration.
    Summary:
    Needs SOAP XML that Update Adress fields that includes City,Country,State and Custom Field with Name and ID Pair like Dorpdown
    Content:

    Hello All,

    I am Updating Contact Object Using SOAP API and want SOAP XML to update Address Field that includes all address configuration like City,State and Country.

    And Also needs help on How to update NameID,NameIDList Like Fields that have ID and Name as a pair of value

    Please Help me on this

    Version:
    Oracle Service Cloud SOAP API cloud19c
  • Guru Jay
    Retrieve File Attachment using Jscript3
    Topic posted July 25, 2019 by Guru JayGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Retrieve File Attachment using Jscript
    Summary:
    GetFileData call using Jscript
    Content:

    Hello everyone -

    I am trying to retrieve the file data from Jscript. I am using XMLHttpRequest to post the request XML of GetFileData and get back the binary data of the file attachment. I have provided the code snippet below.

    I can get the binary data response from the XMLHttpRequest though my call to SOAP end point and submission of xml in the send method goes through fine. I am wondering what I am doing wrong?  Essentially, objXMLHttpRequest.responseText does not bring me the file data that I would expect in this call.

    Thanks,

    Guru

     

    Code Snippet:

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