GET api/Yayin/Login?username={username}&password={password}&appversion={appversion}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

appversion

string

Required

Body Parameters

None.

Response Information

Resource Description

LoginResult
NameDescriptionTypeAdditional information
SessionID

globally unique identifier

None.

Username

string

None.

AdSoyad

string

None.

IsAdmin

boolean

None.

Yetki

string

None.

BasarisizSifreDenemesi

integer

None.

Error

string

None.

HasError

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "SessionID": "cb19a884-1504-45eb-a397-aa3ae4e88d57",
  "Username": "sample string 2",
  "AdSoyad": "sample string 3",
  "IsAdmin": true,
  "Yetki": "sample string 5",
  "BasarisizSifreDenemesi": 6,
  "Error": "sample string 7",
  "HasError": true
}

application/xml, text/xml

Sample:
<LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yayin.Model">
  <Error>sample string 7</Error>
  <AdSoyad>sample string 3</AdSoyad>
  <BasarisizSifreDenemesi>6</BasarisizSifreDenemesi>
  <IsAdmin>true</IsAdmin>
  <SessionID>cb19a884-1504-45eb-a397-aa3ae4e88d57</SessionID>
  <Username>sample string 2</Username>
  <Yetki>sample string 5</Yetki>
</LoginResult>