TeamDynamix Authentication and Authorizartion

I've used the .net c# utility to import people into TeamDynamix, but now my process is going to move to a linux environment, so I need a different way of getting this to work.  How can that be done?  In the c# project, the import is accomplished through a function call and the use of some api library .dll files.  How can I move this to a linux environment ?

Thank you

 

Now I'm trying to get a JSON formatted respone in Postman using the following script, how can I do this?  I'm getting a HTML formatted response as if the authentication isn't working

the code below is placed in the pre request script portion of the postman sections.


const tokenUrl = 'https://support.csuchico.edu/SBTDWebApi/';

pm.sendRequest({
    url: tokenUrl,
    method: 'POST',
    body: {
        'content-type': 'text/json; charset=utf-8',
        mode: 'raw',
        raw: [
            { key: 'username', value: clientUser },
            { key: 'password', value: clientPassword },
            { key:'BEID', value:clientId },
            { key:'WebServicesKey', value:clientSecret }
        ]
    }
}, (err, res) => {
    console.log(" Response Section ");
});

Asked by Kirk McCoskey on Wed 3/9/22 1:25 PM Last edited Wed 3/23/22 9:05 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Wed 3/9/22 2:19 PM

Hello Kirk,

Our best recommendation for people importing is to not move that into a Linux environment. At least not unless Linux can run .NET Framework apps or else you personally have the skills in Python or another scripting language to generate .XLSX files and submit them to the API.

Unfortunately we do not have such expertise with regard to the Linux environment, and so our recommendation would be to continue to allow the process to occur in a Windows environment as we have zero non-Windows utilities for people importing.

No feedback
I'm hoping that someone has experience getting a JSON response in postman from login with the script I have in my edited question, Thank you - Kirk McCoskey Thu 3/24/22 6:51 PM