AnsweredAssumed Answered

retrieving disabled records via Web Services?

Question asked by cw31362 on Sep 27, 2016
Latest reply on Sep 29, 2016 by cw31362

I'm trying to retrieve the batchUid of a disabled course using the SOAP Web Services. My request works fine, but it won't return the requested record unless the course is already enabled. See below.

 

Alberto Ruiz suggested changing the filterType and available parameters, but I've still had no success. What do I need to include in the filter for it to retrieve a disabled course? Can anyone help (paging Mr. Scott Hurrey)?

 

REQUEST:

<soapenv:Envelope xmlns:cour="http://course.ws.blackboard" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://course.ws.blackboard/xsd">
    <soapenv:Header>
        <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsu:Timestamp wsu:Id="TS-QNPB2WBUQ85QH4OQ753Y368U2OKYFFUZU">
                <wsu:Created>2016-09-27T13:52:09.371Z</wsu:Created>
                <wsu:Expires>2016-09-27T13:53:09.371Z</wsu:Expires>
            </wsu:Timestamp>
            <wsse:UsernameToken wsu:Id="UsernameToken-832AUYRKUZVKMDJTWX8RJJNZTEDN4SYB8">
                <wsse:Username>session</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">209b03e8ccf8411691b2e502eb1bf357</wsse:Password>
                <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">LYC02551AVP4DFJBF1ZUEA==</wsse:Nonce>
                <wsu:Created>2016-09-27T13:52:09.371Z</wsu:Created>
            </wsse:UsernameToken>
        </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
        <cour:getCourse>
            <cour:filter>
                <xsd:courseIds>2014FA.BOS.BEH.102.A</xsd:courseIds>
                <xsd:filterType>1</xsd:filterType>
            </cour:filter>
        </cour:getCourse>
    </soapenv:Body>
</soapenv:Envelope>

 

RESPONSE:

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:getCourseResponse xmlns:ns="http://course.ws.blackboard" xmlns:ax212="http://course.ws.blackboard/xsd" xmlns:ax211="http://ws.platform.blackboard/xsd" />
    </soapenv:Body>
</soapenv:Envelope>

Outcomes