Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • Jim Reynolds
    Bulk Extract IncidentsAnswered7
    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:
  • Sristy Arya
    Rest API - Download all file attachments of an...1
    Topic posted November 14, 2019 by Sristy AryaBronze Trophy: 5,000+ Points, tagged REST 
    Title:
    Rest API - Download all file attachments of an Object(Opportunities)
    Summary:
    Rest API - Download all file attachments of an Object(Opportunities)
    Content:

    Hello Everyone,

    I have a requirement wherein I need to download all file attachments of Opportunities (Zip) using Rest API . I used the below to do the same but it downloads only 1 attachment in the Zip and not all and there are around 35 attachments in each Opportunity and there are 717 Opportunities for which Attachments are to be downloaded.

    https://sitename/services/rest/connect/v1.3/opportunities/opp_id/fileAttachments?download&compress=tgz

    Can anybody help in this ?

     

    Thanks

    Sristy

    Version:
    19B
  • jagadeesh gattupalli
    How to query NamedID values for a resource like Contacts3
    Topic posted November 19, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged REST 
    Title:
    How to query NamedID values for a resource like Contacts
    Summary:
    query NamedID values for a resource like Contacts
    Content:

    Hi , 

    I am working on REST API. As a part of requirement I need to check whether a lookupName existing in namedID of Contacts Resource ?

    Dummy Example link is below. This link fetches me all States or Provinces details of a Contacts  resource. Is there any way I can query a particaluar value from this NamedID values..like State value 'AK' or 'AL'

    https://testdev.orgtest.com/services/rest/connect/v1.3/namedIDs/contacts/address/stateOrProvince

    "items": [
            {
                "id": 1,
                "lookupName": "AK",
                "links": [
                    {
                        "rel": "canonical",
                        "href": "https://testdev.orgtest.com/services/rest/connect/v1.3/namedIDs/contacts/address/stateOrProvince/1"
                    }
                ]
            }
    

     

    https://testdev.orgtest.com/services/rest/connect/v1.3/namedIDs/contacts/address/stateOrProvince?q=lookupName=%27AL%27

    I am trying this way but resulting in Bad Request -400

    Please let me know.

     

    Regards

    Jagadeesh .

     

     

     

    Version:
    19B
  • jagadeesh gattupalli
    Oracle Service cloud Audit logs Resource for REST API7
    Topic posted November 19, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged REST 
    Title:
    Oracle Service cloud Audit logs Resource for REST API
    Summary:
    Need Audit logs Resource for Service Cloud REST API
    Content:

    Hi ,

    Does any one worked on  how to get Audit Logs for each resource like Contacts , Incidents , Accounts and Organizations etc.? through REST API.

    Please let me know. It is urgent.

    Regards

    Jagadeesh G

     

    Version:
    19B
  • kate James
    VB.Net and Soap web services5
    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
  • NickL
    Unable To Create Attachments Using RightNow Adapter When...1
    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:
  • Junio Vitor de Paula
    What the correct REST/SOAP Service to insert values in List...
    Topic last edited November 14, 2019 by Junio Vitor de PaulaRed Ribbon: 250+ Points, tagged REST, SOAP 
    Title:
    What the correct REST/SOAP Service to insert values in List Of Values?
    Summary:
    What the correct REST/SOAP Service to insert values for List Of Values?
    Content:

    Hi folks,

    Someone know or use the SOAP/REST service to post values for "List of Values" in Oracle Cloud?

    Could you please share the services links or examples for it?

    Thanks,
    Junio Vitor

    Version:
    19D
  • Padma Prabha Varadarajan
    Hash Functions usage15.0
    Topic posted November 11, 2019 by Padma Prabha VaradarajanRed Ribbon: 250+ Points, tagged Connect PHP, Custom Process Models - CPMs, REST 
    Title:
    Hash Functions usage
    Summary:
    Alternate workaround for Hash function
    Content:

    Hi Team, 

    We are in need of using Hash Functions for one of our business requirement that needs to be implemented in Oracle Service Cloud. We have been notified that the Hash Functions are disabled for the php versions available in our application. In this case, please suggest us on the ways that we have to follow to implement the similar functionality as in Hash Functions. 

    Thanks

    Version:
    18C
  • Steven Robert
    REST API and Audiences (marketing rosters)Answered1
    Topic posted November 13, 2019 by Steven RobertRed Ribbon: 250+ Points 
    Title:
    REST API and Audiences (marketing rosters)
    Summary:
    Does REST API allow audience creation?
    Content:

    Hi wizards

    Documentation isn't clear to me - I understand that the REST API permits certain activities for Audiences (contacts lists) which are called marketing rosters in the API:

    https://docs.oracle.com/en/cloud/saas/service/19c/cxsvc/op-services-rest-connect-v1.4-contactmarketingrosters-id-patch.html

    Does the API allow for the creation of a list of contacts (i.e contact 12, 13, 42), or only the header object?

     

    Version:
    19C
  • Kenton Banyai
    FTP transfer2
    Topic posted November 11, 2019 by Kenton BanyaiRed Ribbon: 250+ Points, tagged Connect PHP 
    Title:
    FTP transfer
    Summary:
    We are trying to send files with our oracle server
    Content:

    We are trying to write a script that will inevitably send a report to the server we are trying to integrate with. Right now we are just trying to get a file to send, for testing. When we send a file through our site, we get the following error.

    Severity: Warning

    Message: file_get_contents(): open_basedir restriction in effect. File(***external server path*** ) is not within the allowed path(s):

    followed by some file paths. Is this a configuration setting that is preventing us from using php functions?

    Here is the code used, in case you need it for reference,

    $file ="***external server path***";
    $current = file_get_contents($file);
    $current .= "Test2 \n";
    file_put_contents(HTMLROOT . "/euf/assets/themes/standard/images/***",$current);

Filter by Date

< < December 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