DacsWSClient.py.txta.py.txtI am using Dacs Web Service API to automate Dacs Admin user creation for Dacs 6.6. I am implementing it using suds.client python library to call the API. Method I am calling is - createDacsAdministratorDefinition( DacsAdministratorLogin, DacsAdministratorDefinition ).
While setting the DacsAdministratorDefinition, I am getting error if I am not setting mAccessLevel variable.
DACS Administrator access level required.
But when I set mAccessLevel, I am getting Type not defined error. Can you please help ? suds.TypeNotFound: Type not found: 'mAccessLevel'
My sample code is attached.
Solved the issue.
The documentation mentions variable name as mAccessLevel .
But in actual API implementation, the last character is missing. So, I used 'mAccessLeve' and the issue got solved.
May be the documentation needs update, as API update will cause the existing users to update the code !!
Not an expert on this API but I noted that the documentation mentions the following parameter
mAccessLevelSet xs:boolean Indicates whether mAccessLevel is set.
Have you tried setting that?
If the above does not work, please respond here and hopefully a DACS expert will respond.