POST api/Session?username={username}&password={password}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
username
No documentation available.

Define this parameter in the request URI.

password
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "cL_SessionInformation": "sample string 1",
  "password": "sample string 2",
  "isAdmin": true,
  "token": "sample string 4",
  "resetPassword": "sample string 5",
  "permissions": [
    {
      "controllerName": "sample string 1",
      "controllerDesc": "sample string 2",
      "permissionDesc": "sample string 3",
      "allowMenu": "sample string 4",
      "actions": "sample string 5",
      "id": 6
    },
    {
      "controllerName": "sample string 1",
      "controllerDesc": "sample string 2",
      "permissionDesc": "sample string 3",
      "allowMenu": "sample string 4",
      "actions": "sample string 5",
      "id": 6
    },
    {
      "controllerName": "sample string 1",
      "controllerDesc": "sample string 2",
      "permissionDesc": "sample string 3",
      "allowMenu": "sample string 4",
      "actions": "sample string 5",
      "id": 6
    }
  ],
  "cL_UserDataAccount": "sample string 6",
  "cL_UserDataRegister": "sample string 7",
  "userID": 8,
  "email": "sample string 9",
  "nickName": "sample string 10",
  "firstName": "sample string 11",
  "lastName": "sample string 12",
  "menus": "sample string 13",
  "newPassword": "sample string 14",
  "username": "sample string 15",
  "id": 16
}

application/xml, text/xml

Sample:
<SessionInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPL.LIB.Common">
  <Id xmlns="http://schemas.datacontract.org/2004/07/TPL.LIB.Models">16</Id>
  <username>sample string 15</username>
  <CL_UserDataRegister>sample string 7</CL_UserDataRegister>
  <Email>sample string 9</Email>
  <FirstName>sample string 11</FirstName>
  <LastName>sample string 12</LastName>
  <Menus>sample string 13</Menus>
  <NickName>sample string 10</NickName>
  <UserID>8</UserID>
  <newPassword>sample string 14</newPassword>
  <CL_UserDataAccount>sample string 6</CL_UserDataAccount>
  <CL_SessionInformation>sample string 1</CL_SessionInformation>
  <Permissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/TPL.LIB.Models">
    <d2p1:PermissionModel>
      <d2p1:Id>6</d2p1:Id>
      <d2p1:Actions>sample string 5</d2p1:Actions>
      <d2p1:AllowMenu>sample string 4</d2p1:AllowMenu>
      <d2p1:ControllerDesc>sample string 2</d2p1:ControllerDesc>
      <d2p1:ControllerName>sample string 1</d2p1:ControllerName>
      <d2p1:PermissionDesc>sample string 3</d2p1:PermissionDesc>
    </d2p1:PermissionModel>
    <d2p1:PermissionModel>
      <d2p1:Id>6</d2p1:Id>
      <d2p1:Actions>sample string 5</d2p1:Actions>
      <d2p1:AllowMenu>sample string 4</d2p1:AllowMenu>
      <d2p1:ControllerDesc>sample string 2</d2p1:ControllerDesc>
      <d2p1:ControllerName>sample string 1</d2p1:ControllerName>
      <d2p1:PermissionDesc>sample string 3</d2p1:PermissionDesc>
    </d2p1:PermissionModel>
    <d2p1:PermissionModel>
      <d2p1:Id>6</d2p1:Id>
      <d2p1:Actions>sample string 5</d2p1:Actions>
      <d2p1:AllowMenu>sample string 4</d2p1:AllowMenu>
      <d2p1:ControllerDesc>sample string 2</d2p1:ControllerDesc>
      <d2p1:ControllerName>sample string 1</d2p1:ControllerName>
      <d2p1:PermissionDesc>sample string 3</d2p1:PermissionDesc>
    </d2p1:PermissionModel>
  </Permissions>
  <isAdmin>true</isAdmin>
  <password>sample string 2</password>
  <resetPassword>sample string 5</resetPassword>
  <token>sample string 4</token>
</SessionInformation>