GET api/Business/GetDetailsByBusinessId/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

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.