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.