PUT api/Kullanici/Oturum

Request Information

URI Parameters

None.

Body Parameters

BaseKullaniciArg
NameDescriptionTypeAdditional information
kullaniciId

integer

None.

idToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "kullaniciId": 1,
  "idToken": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseKullaniciArg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cingoz.Domain.Dtos.Args">
  <IdToken>sample string 2</IdToken>
  <KullaniciId>1</KullaniciId>
</BaseKullaniciArg>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OturumDto
NameDescriptionTypeAdditional information
kullaniciRef

integer

None.

token

string

None.

createTime

date

None.

id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "kullaniciRef": 1,
  "token": "sample string 2",
  "createTime": "2020-10-20T20:48:51.5029209+03:00",
  "id": 4
}

application/xml, text/xml

Sample:
<OturumDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cingoz.Domain.Dtos">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Cingoz.Core.Dto">4</Id>
  <CreateTime>2020-10-20T20:48:51.5029209+03:00</CreateTime>
  <KullaniciRef>1</KullaniciRef>
  <Token>sample string 2</Token>
</OturumDto>