POST api/Account/Login
Request Information
URI Parameters
None.
Body Parameters
UserDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Userid | string |
None. |
|
| ProjectId | globally unique identifier |
None. |
|
| Password | string |
None. |
|
| Phone | string |
None. |
|
| Roller | Collection of string |
None. |
|
| Firstname | string |
None. |
|
| Lastname | string |
None. |
|
| Created | date |
None. |
|
| Updated | date |
None. |
|
| HarGodkanntRegistermedverkan | boolean |
None. |
|
| IsAdmin | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "ce700048-0e82-4d65-91ed-ea38c55f14a0",
"userid": "sample string 1",
"projectId": "16312496-dca5-443a-aac2-150d396232c0",
"password": "sample string 2",
"phone": "sample string 3",
"roller": [
"sample string 1",
"sample string 2"
],
"firstname": "sample string 4",
"lastname": "sample string 5",
"created": "2025-12-20T12:21:53.0680842+01:00",
"updated": "2025-12-20T12:21:53.0680842+01:00",
"harGodkanntRegistermedverkan": true,
"isAdmin": true
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.