Integrations and APIs for Service

Get Involved. Join the Conversation.

Posts

  • 1-2 of 2
  • 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:
  • Manjit SIngh Arora
    Updating Quote Line Item (Opportunity Object) via...3
    Topic posted July 25, 2019 by Manjit SIngh AroraGreen Ribbon: 100+ Points, tagged SOAP 
    Title:
    Updating Quote Line Item (Opportunity Object) via SOAP API
    Summary:
    Not able to update quote line item
    Content:

    HI All,

    I am trying to update quote line items of opportunity object through SOAP API, i am not getting any error in response but the changes are not reflected in Agent Desktop.

    Snippet of SOAP Request.

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

        <soapenv:Header>

            <ns7:ClientInfoHeader xmlns:ns7="urn:messages.ws.rightnow.com/v1_4" soapenv:mustUnderstand="0">

                <ns7:AppID>Basic Update</ns7:AppID>

            </ns7:ClientInfoHeader>

            <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">

                <wsse:UsernameToken>

                    <wsse:Username>Admin1</wsse:Username>

                    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Admin1234</wsse:Password>

                </wsse:UsernameToken>

            </wsse:Security>

        </soapenv:Header>

        <soapenv:Body>

            <ns7:Update xmlns:ns7="urn:messages.ws.rightnow.com/v1_4">

                <ns7:RNObjects xmlns:ns4="urn:objects.ws.rightnow.com/v1_4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:Opportunity">

                    <ID xmlns="urn:base.ws.rightnow.com/v1_4" id="11" />

                    <ns4:Quotes>

                        <ns4:QuoteList>                                                                                                                                   

                                                                            <ns4:Name action="update">Quote_XYZ</ns4:Name>

                                                                </ns4:QuoteList>

                    </ns4:Quotes>

                </ns7:RNObjects>

                <ns7:ProcessingOptions>

                    <ns7:SuppressExternalEvents>false</ns7:SuppressExternalEvents>

                    <ns7:SuppressRules>false</ns7:SuppressRules>

                </ns7:ProcessingOptions>

            </ns7:Update>

        </soapenv:Body>

    </soapenv:Envelope>

     

     

Filter by Date

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