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

Not able to Get Custom Object value Using SOAP

Accepted answer
6
Views
8
Comments
edited Jun 8, 2022 11:54AM in General Technical Discussions 8 comments

Content

I am trying to make SOAP get request to get a custom Object using its id
and getting this below error always
"There has been an error with your request"
can anybody provide me a sample code for get and update custom object request using SOAP

Code Snippet

             <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
	<s:Header>
		<h:ClientInfoHeader xmlns:h="urn:messages.ws.rightnow.com/v1_3" xmlns="urn:messages.ws.rightnow.com/v1_3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<AppID>Basic get</AppID>
		</h:ClientInfoHeader>
	</s:Header>
	<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<Get xmlns:ns7="urn:messages.ws.rightnow.com/v1_3">
			<RNObjects xmlns:q1="urn:generic.ws.rightnow.com/v1_3" xsi:type="q1:GenericObject">
				<q1:ObjectType>
					<q1:Namespace>NameSpace</q1:Namespace>
					<q1:TypeName>Type</q1:TypeName>
					<ID xmlns="urn:base.ws.rightnow.com/v1_3" id="32" />
				</q1:ObjectType>
			</RNObjects>
			<ProcessingOptions>
                <FetchAllNames>false</FetchAllNames>
            </ProcessingOptions>
        </Get>
	</s:Body>
</s:Envelope> 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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