Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Rajan Davis
    SOAP API - fetching Report Definition returning errorsAnswered
    Topic posted February 7, 2019 by Rajan DavisGold Crown: 30,000+ Points, last edited February 7, 2019, tagged SOAP 
    85 Views, 3 Comments
    Title:
    SOAP API - fetching Report Definition returning errors
    Summary:
    Getting issues trying to pull a report definition - can someone help me figure out what's wrong with my code? The error I get is 'An ID or LookupName must be provided'
    Version:
    Oracle Service Cloud 18C
    Code Snippet:

    Best Comment

    Suresh Thirukoti

    @Rajan - looks like  idSpecified = true is missing after you are setting Id.

      ID = new ID { id = xxxx, idSpecified = true },

    ~Suresh

    Comment

     

    • Suresh Thirukoti

      @Rajan - looks like  idSpecified = true is missing after you are setting Id.

        ID = new ID { id = xxxx, idSpecified = true },

      ~Suresh

      • Rajan Davis

        Hi Suresh,

        Thanks for the insight! 

        Would you happen to know where I might be able to find some updated documentation for the SOAP API? It seems like there have been a lot of updates and the current documentation is off (at least from what I can tell).

        Kind Regards,

        Rajan

        • Suresh Thirukoti

          Np Rajan!! Actually I stopped looking for documentation for SOAP API for latest updates as Oracle is very lazy in updating them.Only when somebody reports it, they will add it like Access Token header for example. 

          Normally I reference the WSDL and then use Visual studio to see the method signature and play around ....

          Regarding documentation link for the example, closest is below

          http://documentation.custhelp.com/euf/assets/devdocs/cloud18d/Connect_Web_Services_for_SOAP/Content/Web%20Service%20API/Operations/Create.htm

          ~Suresh