Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Dietrik
    Soap api: Adding product to answerAnswered
    Topic posted August 3, 2010 by Dietrik Black Diamond: 60,000+ Points, last edited February 20, 2012 by Dietrik Blue Ribbon: 750+ Points 
    2620 Views, 17 Comments
    Title:
    Soap api: Adding product to answer
    Content:

    Hi,

    I'm trying to add a product to an answer being created through the soap api using c#.

    The answer is being created without errors but the product is not linked to the answer.

    How should I add products when creating answers ?

    Here's the code i've used:

    Code Snippet:

    Best Comment

    Chris Omland

    Hi DS, looks like you discovered a product defect. I have entered an incident with our engineering team to get this addressed. In the meantime if you need to set the product you can get it done by Nil'ing or modifying CommonAttachments, CommonComments or OriginalReferenceNumber.

    For example in my code I did:            newAnswer.OriginalReferenceNumber = "000000-000000"; and this then caused the Product to be set correctly.

    -Chris

    Comment

    • Govindharaju Gurusamy

      Hi,

      Am trying to set product and categories in Incident workspace using Java code. Can any one send me sample code for creating product and categories

      Thanks

      Govindh

    • Govindharaju Gurusamy

      Hi All ,

      Anybody can share java sample code for setting Products/Categories with hierarchy in Rightnow incident. 

      Thanks

      Govindh