Has anyone successfully used approveRObject?

2 Answer(s)

FYI, the SDK has the same issue, NullPointerException, as the various Collections (Notifiers, etc.) are nulls.Ā  By adding empty ArrayLists the SDK code works fine.Ā  So, how do I replicate the empty ArrayLists in SOAP?

Agile Angel Answered on September 5, 2018.
Add Comment
Best answer

OK, here’s the correct format for approving for a single user.Ā  Don’t ask me why approveForGroup is required to, um, NOT approve for a group.

<soapenv:Envelope >
<soapenv:Header/>
<soapenv:Body>
Ā  <v1:approveRObject>
Ā  Ā  <request>
Ā  Ā  Ā  <disableAllWarnings>true</disableAllWarnings>
Ā  Ā  Ā  <approveRObject>
Ā  Ā  Ā  Ā  <classIdentifier>Changes</classIdentifier>
Ā  Ā  Ā  Ā Ā <objectNumber>R00005</objectNumber>
Ā  Ā  Ā  Ā Ā <password>mypassword</password>
Ā  Ā  Ā  Ā Ā <comment></comment>
Ā  Ā  Ā  Ā Ā <approveForGroup>
Ā  Ā  Ā  Ā  Ā  <classIdentifier>User</classIdentifier>
Ā  Ā  Ā  Ā  Ā  <objectIdentifier>myuser</objectIdentifier>
Ā  Ā  Ā  Ā Ā </approveForGroup>
Ā  Ā  Ā  </approveRObject>
Ā  Ā  </request>
Ā  </v1:approveRObject>
</soapenv:Body>
</soapenv:Envelope>

Agile Angel Answered on September 5, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.