GET api/Business/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

BusinessViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

FederalTaxID

string

None.

Address

string

None.

City

string

None.

State

string

None.

WebSite

string

None.

ZipCode

string

None.

Country

string

None.

NumSpinns

integer

None.

NumRedeem

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "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
}

application/xml, text/xml

Sample:
<BusinessViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin.Models.ViewModel">
  <Address>sample string 4</Address>
  <City>sample string 5</City>
  <Country>sample string 9</Country>
  <FederalTaxID>sample string 3</FederalTaxID>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <NumRedeem>11</NumRedeem>
  <NumSpinns>10</NumSpinns>
  <State>sample string 6</State>
  <WebSite>sample string 7</WebSite>
  <ZipCode>sample string 8</ZipCode>
</BusinessViewModel>