POST api/Manager/ManagerLogin

Request Information

URI Parameters

None.

Body Parameters

ManagerLoginBindingModel
NameDescriptionTypeAdditional information
BusinessId

integer

None.

UserName

string

None.

Password

string

None.

Type

integer

None.

Mail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "UserName": "sample string 2",
  "Password": "sample string 3",
  "Type": 4,
  "Mail": "sample string 5"
}

application/xml, text/xml

Sample:
<ManagerLoginBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.BindingModel">
  <BusinessId>1</BusinessId>
  <Mail>sample string 5</Mail>
  <Password>sample string 3</Password>
  <Type>4</Type>
  <UserName>sample string 2</UserName>
</ManagerLoginBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WorkerManagerViewModel
NameDescriptionTypeAdditional information
UserName

string

None.

BusinessId

integer

None.

Email

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "BusinessId": 2,
  "Email": "sample string 3"
}

application/xml, text/xml

Sample:
<WorkerManagerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.ViewModel">
  <BusinessId>2</BusinessId>
  <Email>sample string 3</Email>
  <UserName>sample string 1</UserName>
</WorkerManagerViewModel>