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

Setting the queue id and status field using the soap api XML

Accepted answer
25
Views
4
Comments
edited Jun 8, 2022 12:02PM in General Technical Discussions 4 comments

Content

Goodmorning,

I'm having some issues with the SOAP API.
I'm trying to set the queue and status on create but I keep receiving the error message: Data element in the Message is NULL

I tried adding the queue to the code:

<ns4:Queue>
 <ID xmlns="urn:base.ws.rightnow.com/v1_2" id="12"/>
 </ns4:Queue>

and the status:

    <ns4:StatusWithType>
                <ns4:Status>
                <ID xmlns="urn:base.ws.rightnow.com/v1" id="4" />
                </ns4:Status>
            </ns4:StatusWithType>

Is there someone who can tell me what I'm doing wrong because the documentation is a bit vague on the matter.

I've attached the entire code to the this post in the code block.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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