API Broken in Version 9.x (latest)

API Broken in Version 9.x (latest)

Hi,

We just upgraded to ServiceDesk Plus (MSP Edition). The python code below worked just fine in 8.3. Build 8316 but now fails in 9.0 Build 9000. I'd love to understand what changed -

import requests
args = {'OPERATION_NAME': 'ADD_REQUEST',
            'TECHNICIAN_KEY': 'MY_KEY',
            'INPUT_DATA': """
<Operation>
<Details>
    <requester>Test User</requester>
    <subject>Test Subject</subject>
    <description>Test Description</description>
    <requesttemplate>Incident</requesttemplate>
    <account>Mysite</account>
    <site>mysite</site>
    <asset></asset>
    <status>open</status>
    <service>Email</service>
</Details>
</Operation>
"""
r = requests.post(' http://my.host:8000/sdapi/request', params=args)

Note that in version 9, the response from the piece above is now:

<operation name="POST"><result><status>Failed</status><message>Error when performing - ADD_REQUEST - null</message></result></operation>

This remains the same whether or not we add 'format':'xml' to the dictionary above. Similarly, when json serializing the objects it equally fails - so I thought I'd try that.

                New to ADManager Plus?

                  New to ADSelfService Plus?