Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • jagadeesh gattupalli
    how to add incident field values into thread text3
    Topic posted December 5, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged Connect PHP 
    Title:
    how to add incident field values into thread text
    Summary:
    add incident field values into thread text
    Content:

    Hi ,

    Plz let me know how to add Field values into Thread text.

    $parent_inc and $inc_tmp are two objects.

                              $f_count = count($parent_inc->Threads);
                                $parent_inc->Threads[$f_count] = new RNCPHP\Thread();
                                $parent_inc->Threads[$f_count]->EntryType = new RNCPHP\NamedIDOptList();  
                                $parent_inc->Threads[$f_count]->EntryType->LookupName = 'Staff Account';  
                                $parent_inc->Threads[$f_count]->ContentType->ID=2;           

    //this red color code giving me error   

                 
                                $parent_inc->Threads[$f_count]->Text = "This Incident was closed and merged into "   . $inc_tmp.ReferenceNumber . " - " . $inc_tmp.Subject ;

     

    Error : Object of class RightNow\Connect\v1_3\Incident could not be converted into string.

    Help is needed. It is urgent.

     

    Regards

    Jagadeesh 

     

    Version:
    19B
  • jagadeesh gattupalli
    How to get Values of System Attributes attached to Incident...Answered15.0
    Topic posted December 5, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged Connect PHP 
    Title:
    How to get Values of System Attributes attached to Incident object using ROQL
    Summary:
    System Attributes attached to Incident object using ROQL
    Content:

    HI ,

    I am writing object event handle using connect PHP and querying incident object as below to fetch value from a system attribute which is highlighted in RED color.

     

    $roql_result_set = RNCPHP\ROQL::query("SELECT Incident.ID ID, Incident.PrimaryContact.ParentContact.ID CID, Incident.CustomFields.CO.ParentIncident CHILD FROM Incident WHERE Incident.ID = " . $object->ID); 

     

    This query works fine Connect object Explore ( ROQL Editor in Customer Portal),

    The same is not working in Connect PHP in below mentioned code.

                    while ($roql_result = $roql_result_set->next())
                    {
                        while ($row = $roql_result->next())
                        {

                            $inc_tmp = RNCPHP\Incident::fetch($row[CHILD]);

                        }

                   }

    I am getting error undefined constant .

    Need your help on this . Appreciate  fast reply.

    I am using connect PHP v1_3 on 19B version.

    Regards

    Jagadeesh 

     

     

    Version:
    19B
  • Jaymin kansara
    Error while creating custom fields on contact Object12
    Topic posted December 5, 2019 by Jaymin kansaraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Error while creating custom fields on contact Object
    Content:

    Hi,

    How can we create custom fields on Contact object through SOAP API XML format?  I tried creating one but getting below error.:

    Can anyone suggest please.

    Code Snippet:
  • Sylvia S
    Setting trigger in Service Cloud to OIC2
    Topic posted December 2, 2019 by Sylvia SBronze Medal: 1,250+ Points, tagged Connect PHP, Custom Process Models - CPMs, SOAP 
    Title:
    Setting trigger in Service Cloud to OIC
    Summary:
    Setting trigger
    Content:

    Hi Guys,

    I am trying to achieve an integration between Service Cloud and Eloqua where if a contact is updated in Service Cloud, the contact is updated in Eloqua through OIC. Based on the documentation am using, an event handler should be created to trigger the process. Can anyone share any information, ideas or documentation on how to go about this?

    Thanks,

    Sylvia

  • Jim Reynolds
    Default PageSize of SOAP APIAnswered2
    Topic posted November 28, 2019 by Jim ReynoldsRed Ribbon: 250+ Points, tagged SOAP 
    Title:
    Default PageSize of SOAP API
    Content:

    Hi,

    We are looking to know what the default 'PageSize'(see attached PageSize.png) is for our production instance of Oracle Service Cloud (https://students.connect.curtin.edu.au/) for the SOAP API QueryCSV request?

    Can the current default value be viewed anywhere without having to contact Oracle?

    We believe it has never been altered, but it could be affecting an important integration involving Oracle Integration Cloud and Oracle Eloqua that we are trying to launch.

    Image:
  • Eric Gottesman
    shareFile adding attachments to every thread item?3
    Topic posted November 27, 2019 by Eric GottesmanBlue Ribbon: 750+ Points, tagged Connect PHP, Custom Process Models - CPMs 
    Title:
    shareFile adding attachments to every thread item?
    Content:

    I am developing a CPM that copies a number of fields from a parent incident to a child incident. I found the "shareFile" functionality, which is great for the attachments. It's working great, except that after the attachments have been copied, the child incident shows the attachments connected to every single thread item. (See attached picture.) If I look at the attachment tab, there are just the two attachments, so it's doing the right thing, except for how it appears to be attached to every thread item.

    Here's the relevant code:

    $incident->FileAttachments = new RNCPHP\FileAttachmentIncidentArray();
     
    for ($i=0$i < count($parentIncident->FileAttachments); $i++) { 
          $incident->FileAttachments->shareFile($parentIncident->FileAttachments[$i]);
    }

    Any ideas?

     

    Version:
    19C
    Image:
    Code Snippet:
  • jagadeesh gattupalli
    What is the API that is available under submit your button...5
    Topic posted November 20, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged REST 
    Title:
    What is the API that is available under submit your button on customer portal page ? How to access that API?
    Summary:
    What is the API that is available under submit your button on customer portal page ?
    Content:

    Hi ,

    I have a requirement where I want to use the underlying API that is used to create incidents from Custom Portal Ask a question page.

    I need the api name and request and response formats so that I can call the same API from other pages of our company portals(Different product pages)

    What is the API that is available under submit your question page ?

    Please let me know.

    Kind Regards

    Jagadeesh G

     

     

    Version:
    19B
  • jagadeesh gattupalli
    How to use get method of REST API with v1.4 from Browser for...2
    Topic posted November 20, 2019 by jagadeesh gattupalliBlue Ribbon: 750+ Points, tagged REST 
    Title:
    How to use get method of REST API with v1.4 from Browser for service cloud
    Summary:
    get method of REST API with v1.4 from Browser for service cloud
    Content:

    Hi ,

    Can any one tell me how to use 

    https://test123.custhelp.com/services/rest/connect/v1.4/countries?q=lookupName=%27US%27

    I get following error

    "type":"https://sandals--tst1.custhelp.com/services/rest/connect/exceptions/OSC-CREST-00025","title":"Bad Request","status":400,"detail":"Request does not contain OSvC-CREST-Application-Context header"
    

    where as if I use v1.3 

    https://test123.custhelp.com/services/rest/connect/v1.3/countries?q=lookupName=%27US%27

    i get results properly.

     

    Please let me know.

     

    Regards

    Jagadeesh 

     

  • Jepee Celorico
    Quick Base Intergration1
    Topic posted November 20, 2019 by Jepee CeloricoSilver Medal: 2,000+ Points 
    Title:
    Quick Base Intergration
    Summary:
    Is Quick Base intergration with Oracle Service Cloud Possible?
    Content:

    Hi Experts,

    Does anyone here have tried to Integrate Quick Base to OSvC? Is this possible?

    Thank you,

    Jepee

    Version:
    18D
  • 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

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