POST api/Authentication/Login

Musteri Oturum Acma

Request Information

URI Parameters

None.

Body Parameters

LoginCustomerInput
NameDescriptionTypeAdditional information
Phone

string

None.

Password

string

None.

DeviceType

integer

None.

UserDeviceType

integer

None.

DeviceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "Password": "sample string 2",
  "DeviceType": 1,
  "UserDeviceType": 3,
  "DeviceId": "sample string 4"
}

text/xml

Sample:
<LoginCustomerInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <DeviceId>sample string 4</DeviceId>
  <DeviceType>1</DeviceType>
  <Password>sample string 2</Password>
  <Phone>sample string 1</Phone>
  <UserDeviceType>3</UserDeviceType>
</LoginCustomerInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginCustomerDto
NameDescriptionTypeAdditional information
Type

integer

None.

Token

string

None.

Name

string

None.

LastName

string

None.

CompanyName

string

None.

ProfileImage

string

None.

IsEnterprise

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "Token": "sample string 2",
  "Name": "sample string 3",
  "LastName": "sample string 4",
  "CompanyName": "sample string 5",
  "ProfileImage": "sample string 6",
  "IsEnterprise": true
}

text/xml

Sample:
<LoginCustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <CompanyName>sample string 5</CompanyName>
  <IsEnterprise>true</IsEnterprise>
  <LastName>sample string 4</LastName>
  <Name>sample string 3</Name>
  <ProfileImage>sample string 6</ProfileImage>
  <Token>sample string 2</Token>
  <Type>1</Type>
</LoginCustomerDto>