POST authentication/authenticatewithpassword

Attempts to authenticate the user with the provided social security number or username, and password. The password and username can be configured on the portal profile page. This method also supports authentication using client certificates. To enable client certificate authentication, include the URL-parameter ?ForceEIAuthentication.

Request Information

Parameters

NameDescriptionAdditional information
authenticationInfo User credentials (Username and password)

Define this parameter in the request body.

Request body formats

application/hal+xml

Sample:
<resource rel="authenticationinfo">
   <UserName>string 23</UserName>
   <UserPassword>string 21</UserPassword>
</resource>
                    

application/hal+json

Sample:
{
    "UserName": "string 76",
    "UserPassword": "string 76"
}

                    

Response body formats

application/hal+xml

No sample

application/hal+json

Sample:
{
    "Secret": "h43ofah43fuha43hfjlrkeahfa98743gh",
    "UserName": "enterpriseuser123",
    "Created": "2021-07-06T11:06:30.9786158+02:00",
    "OwnerOrgNo": "910494392"
}