POST api/User/Authenticate
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AuthenticationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthToken | string |
None. |
|
| Message | string |
None. |
|
| Language | Languages |
None. |
|
| Status | HttpStatusCode |
None. |
|
| UserData | UserInfoLight |
None. |
Response Formats
application/json, text/json
Sample:
{
"authtoken": "sample string 1",
"message": "sample string 2",
"language": 0,
"status": 100,
"userdata": {
"id": 1,
"companyid": 2,
"departmentid": 3,
"companyname": "sample string 4",
"username": "sample string 5",
"firstname": "sample string 6",
"lastname": "sample string 7",
"gravatarhash": "sample string 8",
"primarycontactnumber": "sample string 9",
"recordtype": 0,
"isadmin": true,
"isprofilelocked": true,
"hidesubscriptionmenu": true,
"settings": {
"userid": 1,
"diversionlengthlunch": 2,
"diversionlengthout": 3,
"diversionlengthbreak": 4,
"workdaybegins": "sample string 5",
"workdayends": "sample string 6",
"workdaymatrix": "sample string 7",
"callpriofirst": 0,
"callpriosecond": 0,
"scheduleisinherited": true,
"callprioisinherited": true,
"presetisinherited": true,
"scheduleisedited": true,
"callprioisedited": true,
"presetisedited": true
},
"lastmodified": "2026-10-26T22:13:59.5857006+01:00"
}
}
application/xml, text/xml
Sample:
<AuthenticationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kundwebb.Models">
<AuthToken>sample string 1</AuthToken>
<Language>Swedish</Language>
<Message>sample string 2</Message>
<Status>Continue</Status>
<UserData>
<CompanyID>2</CompanyID>
<CompanyName>sample string 4</CompanyName>
<DepartmentID>3</DepartmentID>
<FirstName>sample string 6</FirstName>
<GravatarHash>sample string 8</GravatarHash>
<HideSubscriptionMenu>true</HideSubscriptionMenu>
<IsAdmin>true</IsAdmin>
<IsProfileLocked>true</IsProfileLocked>
<LastModified>2026-10-26T22:13:59.5857006+01:00</LastModified>
<LastName>sample string 7</LastName>
<PrimaryContactNumber>sample string 9</PrimaryContactNumber>
<RecordType>Unknown</RecordType>
<Settings>
<CallPrioFirst>NoneSet</CallPrioFirst>
<CallPrioIsEdited>true</CallPrioIsEdited>
<CallPrioIsInherited>true</CallPrioIsInherited>
<CallPrioSecond>NoneSet</CallPrioSecond>
<DiversionLengthBreak>4</DiversionLengthBreak>
<DiversionLengthLunch>2</DiversionLengthLunch>
<DiversionLengthOut>3</DiversionLengthOut>
<PresetIsEdited>true</PresetIsEdited>
<PresetIsInherited>true</PresetIsInherited>
<ScheduleIsEdited>true</ScheduleIsEdited>
<ScheduleIsInherited>true</ScheduleIsInherited>
<UserId>1</UserId>
<WorkDayBegins>sample string 5</WorkDayBegins>
<WorkDayEnds>sample string 6</WorkDayEnds>
<WorkDayMatrix>sample string 7</WorkDayMatrix>
</Settings>
<Username>sample string 5</Username>
<id>1</id>
</UserData>
</AuthenticationResult>