POST api/Security/CreateWebSession

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
UserId

integer

None.

Username

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

IsActive

boolean

None.

IsSystem

boolean

None.

IsADBased

boolean

None.

BusinessUnitId

integer

None.

PermissionIds

Collection of integer

None.

FullName

string

None.

BusinessUnit

BusinessUnit

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Username": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "IsActive": true,
  "IsSystem": true,
  "IsADBased": true,
  "BusinessUnitId": 9,
  "PermissionIds": [
    1,
    2
  ],
  "FullName": "sample string 3 sample string 4",
  "BusinessUnit": {
    "$id": "2",
    "$type": "AHS.Server.Entities.BusinessUnit, AHS.Server",
    "BusinessUnitId": 1,
    "Description": "sample string 2",
    "IsAHS": true
  }
}

Response Information

Resource Description

None.