POST api/Manager/ManagerLoginApp

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

AppLoginViewModel
NameDescriptionTypeAdditional information
Business

BusinessViewModel

None.

Design

DesignViewModel

None.

Setting

SettingViewModel

None.

Coupons

Collection of CouponDetails

None.

manager

WorkerManagerViewModel

None.

numWinnings

integer

None.

numCustomers

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Business": {
    "Id": 1,
    "Name": "sample string 2",
    "FederalTaxID": "sample string 3",
    "Address": "sample string 4",
    "City": "sample string 5",
    "State": "sample string 6",
    "WebSite": "sample string 7",
    "ZipCode": "sample string 8",
    "Country": "sample string 9",
    "NumSpinns": 10,
    "NumRedeem": 11
  },
  "Design": {
    "Id": 1,
    "LogoUrl": "sample string 2",
    "BackgroundColor": "sample string 3",
    "Spinner": {
      "Id": 1,
      "DarkColor": "sample string 2",
      "LightColor": "sample string 3",
      "PinUrl": "sample string 4",
      "ButtonUrl": "sample string 5",
      "GifUrl": "sample string 6",
      "Type": 1,
      "BackgroundImageUrl": "sample string 7",
      "BackgroundAlpha": 1,
      "LinesColor": "sample string 8",
      "SpinnerName": "sample string 9",
      "Description": "sample string 10",
      "PlateUrl": "sample string 11",
      "ThumbUrl": "sample string 12",
      "ButtonColor": "sample string 13",
      "DarkText": "sample string 14",
      "LightText": "sample string 15",
      "BackgroundIosImageUrl": "sample string 16",
      "ThumbIosUrl": "sample string 17",
      "ColorPlate": "sample string 18"
    },
    "BusinessId": 4
  },
  "Setting": null,
  "Coupons": [
    {
      "CouponId": 1,
      "Text": "sample string 2",
      "IconId": 3,
      "IconUrl": "sample string 4"
    },
    {
      "CouponId": 1,
      "Text": "sample string 2",
      "IconId": 3,
      "IconUrl": "sample string 4"
    }
  ],
  "manager": {
    "UserName": "sample string 1",
    "BusinessId": 2,
    "Email": "sample string 3"
  },
  "numWinnings": 1,
  "numCustomers": 2
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.