You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Associating NamedID field not populating in SOAP XML request

Received Response
2
Views
7
Comments
edited Feb 1, 2017 4:13PM in Integrations and APIs 7 comments

Content

Hi All,

I am sending a soap request to Service Cloud in order to create a custom object that is a child of Incident. I could create the custom object and the other columns of type string are successfully populated with values but the Incident column (NamedID)  is not getting populated. I might be missing some tags in the request for sending the parameters.Any help would be greatly appreciated.

Thanks,

Nishi

Subject edited by Danette Beal for clarification

Version

Nov 2016

Code Snippet

             <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="urn:messages.ws.rightnow.com/v1_3" xmlns:v11="urn:base.ws.rightnow.com/v1_3">
   <soapenv:Header>
      <v1:ClientInfoHeader mlns="urn:messages.ws.rightnow.com/v1_3" xmlns:h="urn:messages.ws.rightnow.com/v1_3" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <v1:AppID>Custom Object</v1:AppID>
      </v1:ClientInfoHeader>
      <b:Security xmlns:b="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<b:UsernameToken>
<b:Username>Username</b:Username>
<b:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</b:Password>
</b:UsernameToken>
</b:Security>
   </soapenv:Header>
   <soapenv:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <v1:Create xmlns="urn:messages.ws.rightnow.com/v1_3">
         <v1:RNObjects xsi:type="q1:GenericObject" xmlns:q1="urn:generic.ws.rightnow.com/v1_3">      
              

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!