For the authentication, we use basic http authentication. This means you have to set the Authorization tag/property for each request in the header.
The value of the Authorization has the following format: “Basic” followed by space and a Base64 encoded string which has this input format: “contactElogin:contactEPassword@domain”.
As soon as a contact has the e-login and e-password field, he can access to the ServiceDesk API.
E.g. using the credentials below:
Domain : TESTAPI
Contact E-Login : test@wello.solutions
Contact E-Password : 123456
The input for the Base64 encoded string would be test@wello.solutions:123456@TESTAPI.
The resulting Base64 encoded string:
dGVzdEB3ZWxsby5zb2x1dGlvbnM6MTIzNDU2QFRFU1RBUEk=And the Authorization tag:
Basic dGVzdEB3ZWxsby5zb2x1dGlvbnM6MTIzNDU2QFRFU1RBUEk=
The HTTP Request header should contains Authorization: Basic dGVzdEB3ZWxsby5zb2x1dGlvbnM6MTIzNDU2QFRFU1RBUEk=