POST api/Styles
Request Information
Requires Authorization!
Add to HTTP Headers "Authorization" => "Bearer " + access_token from api/User/LoginWithApiKEY?ApiKEY={ApiKEY}
for example: "Authorization" => "Bearer aBc123-D1eF3...rS45q-XyZ879"
URI Parameters
None.
Body Parameters
StyleViewModel| Name | Type | Additional information | Description |
|---|---|---|---|
| Id | integer |
None. |
|
| UserID | integer |
None. |
|
| CenterBackground | string |
None. |
|
| SideBackground | string |
None. |
|
| TariffBackground | string |
None. |
|
| PageBackgroundColor | string |
None. |
|
| PageBackground | FileViewModel |
None. |
|
| EditableCenterColumnBackground | FileViewModel |
None. |
|
| EditableCenterColumnBackgroundColor | string |
None. |
|
| QueryButtonColor | string |
None. |
|
| MobileBackground | FileViewModel |
None. |
|
| MobileBackgroundColor | string |
None. |
|
| MainColor | string |
None. |
|
| ShowUserData | boolean |
None. |
|
| ButtonFontColor | string |
None. |
|
| MainFontColor | string |
None. |
|
| CompanyFontColor | string |
None. |
|
| CenterFontColor | string |
None. |
|
| RightFontColor | string |
None. |
|
| LeftFontColor | string |
None. |
|
| SortBarBorderColor | string |
None. |
|
| SortBarColor | string |
None. |
|
| SortBarBackground | string |
None. |
|
| HeaderBar | string |
None. |
|
| LogoImage | FileViewModel |
None. |
|
| FindTariffImage | FileViewModel |
None. |
|
| FindTariffImageShow | boolean |
None. |
|
| MainBackgroundName | string |
None. |
|
| MainBackground | FileViewModel |
None. |
|
| MainBackgroundColor | string |
None. |
|
| LeftImage | FileViewModel |
None. |
|
| LeftImageName | string |
None. |
|
| RightImage | FileViewModel |
None. |
|
| RightImageName | string |
None. |
|
| MainMenuBackgroundColor | string |
None. |
|
| MainMenuFontColor | string |
None. |
|
| MainMenuButtonColor | string |
None. |
|
| TabBar | string |
None. |
|
| ActiveTabBackground | string |
None. |
|
| InactiveTabBackground | string |
None. |
|
| ShowAddCooperator | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserID": 2,
"CenterBackground": "sample string 3",
"SideBackground": "sample string 4",
"TariffBackground": "sample string 5",
"PageBackgroundColor": "sample string 6",
"PageBackground": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"EditableCenterColumnBackground": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"EditableCenterColumnBackgroundColor": "sample string 7",
"QueryButtonColor": "sample string 8",
"MobileBackground": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"MobileBackgroundColor": "sample string 9",
"MainColor": "sample string 10",
"ShowUserData": true,
"ButtonFontColor": "sample string 12",
"MainFontColor": "sample string 13",
"CompanyFontColor": "sample string 14",
"CenterFontColor": "sample string 15",
"RightFontColor": "sample string 16",
"LeftFontColor": "sample string 17",
"SortBarBorderColor": "sample string 18",
"SortBarColor": "sample string 19",
"SortBarBackground": "sample string 20",
"HeaderBar": "sample string 21",
"LogoImage": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"FindTariffImage": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"FindTariffImageShow": true,
"MainBackgroundName": "sample string 23",
"MainBackground": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"MainBackgroundColor": "sample string 24",
"LeftImage": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"LeftImageName": "sample string 25",
"RightImage": {
"Id": 1,
"UserId": 2,
"filesize": 3,
"filetype": "sample string 4",
"filename": "sample string 5",
"original_filename": "sample string 6",
"base64": "sample string 7"
},
"RightImageName": "sample string 26",
"MainMenuBackgroundColor": "sample string 27",
"MainMenuFontColor": "sample string 28",
"MainMenuButtonColor": "sample string 29",
"TabBar": "sample string 30",
"ActiveTabBackground": "sample string 31",
"InactiveTabBackground": "sample string 32",
"ShowAddCooperator": true
}
application/xml, text/xml
Sample:
<StyleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITokenGenerator.Models">
<ActiveTabBackground>sample string 31</ActiveTabBackground>
<ButtonFontColor>sample string 12</ButtonFontColor>
<CenterBackground>sample string 3</CenterBackground>
<CenterFontColor>sample string 15</CenterFontColor>
<CompanyFontColor>sample string 14</CompanyFontColor>
<EditableCenterColumnBackground>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</EditableCenterColumnBackground>
<EditableCenterColumnBackgroundColor>sample string 7</EditableCenterColumnBackgroundColor>
<FindTariffImage>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</FindTariffImage>
<FindTariffImageShow>true</FindTariffImageShow>
<HeaderBar>sample string 21</HeaderBar>
<Id>1</Id>
<InactiveTabBackground>sample string 32</InactiveTabBackground>
<LeftFontColor>sample string 17</LeftFontColor>
<LeftImage>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</LeftImage>
<LeftImageName>sample string 25</LeftImageName>
<LogoImage>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</LogoImage>
<MainBackground>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</MainBackground>
<MainBackgroundColor>sample string 24</MainBackgroundColor>
<MainBackgroundName>sample string 23</MainBackgroundName>
<MainColor>sample string 10</MainColor>
<MainFontColor>sample string 13</MainFontColor>
<MainMenuBackgroundColor>sample string 27</MainMenuBackgroundColor>
<MainMenuButtonColor>sample string 29</MainMenuButtonColor>
<MainMenuFontColor>sample string 28</MainMenuFontColor>
<MobileBackground>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</MobileBackground>
<MobileBackgroundColor>sample string 9</MobileBackgroundColor>
<PageBackground>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</PageBackground>
<PageBackgroundColor>sample string 6</PageBackgroundColor>
<QueryButtonColor>sample string 8</QueryButtonColor>
<RightFontColor>sample string 16</RightFontColor>
<RightImage>
<Id>1</Id>
<UserId>2</UserId>
<base64>sample string 7</base64>
<filename>sample string 5</filename>
<filesize>3</filesize>
<filetype>sample string 4</filetype>
<original_filename>sample string 6</original_filename>
</RightImage>
<RightImageName>sample string 26</RightImageName>
<ShowAddCooperator>true</ShowAddCooperator>
<ShowUserData>true</ShowUserData>
<SideBackground>sample string 4</SideBackground>
<SortBarBackground>sample string 20</SortBarBackground>
<SortBarBorderColor>sample string 18</SortBarBorderColor>
<SortBarColor>sample string 19</SortBarColor>
<TabBar>sample string 30</TabBar>
<TariffBackground>sample string 5</TariffBackground>
<UserID>2</UserID>
</StyleViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.