POST api/Design/Set

Request Information

URI Parameters

None.

Body Parameters

DesignBindingModel
NameDescriptionTypeAdditional information
LogoUrl

string

None.

BackgroundColor

string

None.

SpinnerId

integer

Required

BusinessId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "LogoUrl": "sample string 1",
  "BackgroundColor": "sample string 2",
  "SpinnerId": 3,
  "BusinessId": 4
}

application/xml, text/xml

Sample:
<DesignBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Models.BindingModel">
  <BackgroundColor>sample string 2</BackgroundColor>
  <BusinessId>4</BusinessId>
  <LogoUrl>sample string 1</LogoUrl>
  <SpinnerId>3</SpinnerId>
</DesignBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DesignViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

LogoUrl

string

None.

BackgroundColor

string

None.

Spinner

SpinnerViewModel

None.

BusinessId

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<DesignViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Models.ViewModel">
  <BackgroundColor>sample string 3</BackgroundColor>
  <BusinessId>4</BusinessId>
  <Id>1</Id>
  <LogoUrl>sample string 2</LogoUrl>
  <Spinner>
    <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>
  </Spinner>
</DesignViewModel>