Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Can't add asset to an Incident using SOAP API

$
0
0

Topic by Ramana Lashkar

Content

 

Hi,

  While creating an incident I am trying to add an asset to it, my request goes very well and I get a response back with newly created incident but the asset details I passed are not set.

Below is the details of the SOAP XML which is getting executed

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelopexmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><ns7:ClientInfoHeaderxmlns:ns7="urn:messages.ws.rightnow.com/v1_2"soapenv:mustUnderstand="0"><ns7:AppID>Basic Create</ns7:AppID></ns7:ClientInfoHeader><wsse:Securityxmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"mustUnderstand="1"><wsse:UsernameToken><wsse:Username>myuser</wsse:Username><wsse:PasswordType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">mypassword</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><ns7:Createxmlns:ns7="urn:messages.ws.rightnow.com/v1_2"><ns7:RNObjectsxmlns:ns4="urn:objects.ws.rightnow.com/v1_2"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="ns4:Incident"><ns4:Asset><IDxmlns="urn:base.ws.rightnow.com/v1_2"id="1"/></ns4:Asset><ns4:PrimaryContact><ns4:Contact><IDxmlns="urn:base.ws.rightnow.com/v1_2"id="1"/></ns4:Contact></ns4:PrimaryContact></ns7:RNObjects><ns7:ProcessingOptions><ns7:SuppressExternalEvents>false</ns7:SuppressExternalEvents><ns7:SuppressRules>false</ns7:SuppressRules></ns7:ProcessingOptions></ns7:Create></soapenv:Body></soapenv:Envelope>

Not sure whats wrong and I don't get an error too. 

Issue seems to be with otherContacts and billedMinutes too.

Really appreciate your help on this.

Thanks

 

Version

1.2

Viewing all articles
Browse latest Browse all 2504

Trending Articles