POST api/Login

Request Information

URI Parameters

None.

Body Parameters

Login
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanelApiDemo.Models">
  <password>sample string 2</password>
  <username>sample string 1</username>
</Login>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Login'.

Response Information

Resource Description

Collection of sd_admin
NameDescriptionTypeAdditional information
sno

integer

None.

uid

string

None.

uname

string

None.

email

string

None.

mobile

string

None.

rights

string

None.

alevel

integer

None.

ustatus

string

None.

lastupdated

string

None.

thead

string

None.

department

string

None.

apilink

string

None.

lastlogin

date

None.

IsCheked

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "sno": 1,
    "uid": "sample string 2",
    "uname": "sample string 3",
    "email": "sample string 4",
    "mobile": "sample string 5",
    "rights": "sample string 6",
    "alevel": 7,
    "ustatus": "sample string 8",
    "lastupdated": "sample string 9",
    "thead": "sample string 10",
    "department": "sample string 11",
    "apilink": "sample string 12",
    "lastlogin": "2019-11-18T11:29:00.5813417+05:30",
    "IsCheked": true
  },
  {
    "sno": 1,
    "uid": "sample string 2",
    "uname": "sample string 3",
    "email": "sample string 4",
    "mobile": "sample string 5",
    "rights": "sample string 6",
    "alevel": 7,
    "ustatus": "sample string 8",
    "lastupdated": "sample string 9",
    "thead": "sample string 10",
    "department": "sample string 11",
    "apilink": "sample string 12",
    "lastlogin": "2019-11-18T11:29:00.5813417+05:30",
    "IsCheked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfsd_admin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanelApiDemo.Models">
  <sd_admin>
    <IsCheked>true</IsCheked>
    <alevel>7</alevel>
    <apilink>sample string 12</apilink>
    <department>sample string 11</department>
    <email>sample string 4</email>
    <lastlogin>2019-11-18T11:29:00.5813417+05:30</lastlogin>
    <lastupdated>sample string 9</lastupdated>
    <mobile>sample string 5</mobile>
    <rights>sample string 6</rights>
    <sno>1</sno>
    <thead>sample string 10</thead>
    <uid>sample string 2</uid>
    <uname>sample string 3</uname>
    <ustatus>sample string 8</ustatus>
  </sd_admin>
  <sd_admin>
    <IsCheked>true</IsCheked>
    <alevel>7</alevel>
    <apilink>sample string 12</apilink>
    <department>sample string 11</department>
    <email>sample string 4</email>
    <lastlogin>2019-11-18T11:29:00.5813417+05:30</lastlogin>
    <lastupdated>sample string 9</lastupdated>
    <mobile>sample string 5</mobile>
    <rights>sample string 6</rights>
    <sno>1</sno>
    <thead>sample string 10</thead>
    <uid>sample string 2</uid>
    <uname>sample string 3</uname>
    <ustatus>sample string 8</ustatus>
  </sd_admin>
</ArrayOfsd_admin>