GET api/Spinner/GetAllSpinners?Type={Type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Type

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of SpinnerViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

DarkColor

string

None.

LightColor

string

None.

PinUrl

string

None.

ButtonUrl

string

None.

GifUrl

string

None.

Type

integer

None.

BackgroundImageUrl

string

None.

BackgroundAlpha

integer

None.

LinesColor

string

None.

SpinnerName

string

None.

Description

string

None.

PlateUrl

string

None.

ThumbUrl

string

None.

ButtonColor

string

None.

DarkText

string

None.

LightText

string

None.

BackgroundIosImageUrl

string

None.

ThumbIosUrl

string

None.

ColorPlate

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfSpinnerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Models.ViewModel">
  <SpinnerViewModel>
    <BackgroundAlpha>1</BackgroundAlpha>
    <BackgroundImageUrl>sample string 7</BackgroundImageUrl>
    <BackgroundIosImageUrl>sample string 16</BackgroundIosImageUrl>
    <ButtonColor>sample string 13</ButtonColor>
    <ButtonUrl>sample string 5</ButtonUrl>
    <ColorPlate>sample string 18</ColorPlate>
    <DarkColor>sample string 2</DarkColor>
    <DarkText>sample string 14</DarkText>
    <Description>sample string 10</Description>
    <GifUrl>sample string 6</GifUrl>
    <Id>1</Id>
    <LightColor>sample string 3</LightColor>
    <LightText>sample string 15</LightText>
    <LinesColor>sample string 8</LinesColor>
    <PinUrl>sample string 4</PinUrl>
    <PlateUrl>sample string 11</PlateUrl>
    <SpinnerName>sample string 9</SpinnerName>
    <ThumbIosUrl>sample string 17</ThumbIosUrl>
    <ThumbUrl>sample string 12</ThumbUrl>
    <Type>1</Type>
  </SpinnerViewModel>
  <SpinnerViewModel>
    <BackgroundAlpha>1</BackgroundAlpha>
    <BackgroundImageUrl>sample string 7</BackgroundImageUrl>
    <BackgroundIosImageUrl>sample string 16</BackgroundIosImageUrl>
    <ButtonColor>sample string 13</ButtonColor>
    <ButtonUrl>sample string 5</ButtonUrl>
    <ColorPlate>sample string 18</ColorPlate>
    <DarkColor>sample string 2</DarkColor>
    <DarkText>sample string 14</DarkText>
    <Description>sample string 10</Description>
    <GifUrl>sample string 6</GifUrl>
    <Id>1</Id>
    <LightColor>sample string 3</LightColor>
    <LightText>sample string 15</LightText>
    <LinesColor>sample string 8</LinesColor>
    <PinUrl>sample string 4</PinUrl>
    <PlateUrl>sample string 11</PlateUrl>
    <SpinnerName>sample string 9</SpinnerName>
    <ThumbIosUrl>sample string 17</ThumbIosUrl>
    <ThumbUrl>sample string 12</ThumbUrl>
    <Type>1</Type>
  </SpinnerViewModel>
</ArrayOfSpinnerViewModel>