C# Admin Authentication via WebAPI
Do you happen to have an example for how to authenticate to the webapi with C# using the BEID and the web services key? All the information I can find just shows how to do it with a user name and password.
Thank you!
Answer (1)
Hello Mariah,
I do not have any specific coded examples of how to achieve authentication, however the API documentation for authentication endpoints can be found here: https://yourdomain/TDWebApi/Home/section/Auth
In general you will point your command at the proper authentication endpoint URL, make sure to specify a header value of content-type: application/json, and then send a JSON body containing the username and password properties (or BEID and webservicekey) with corresponding values.
Sincerely,
Mark Sayers
Sr Support Consultant, CS