POST api/HomePageSetting/InsertHomePageSetting?CompanyId={CompanyId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId | integer |
Required |
Body Parameters
HomePageSettingName | Description | Type | Additional information |
---|---|---|---|
HomePageSettingsId | integer |
None. |
|
ShowSlider | string |
None. |
|
ShowTrendingItems | string |
None. |
|
ShowNewItems | string |
None. |
|
DisplayBannerImages | string |
None. |
|
ShowAdvertisement | string |
None. |
|
CompanyDetailId | integer |
None. |
|
HomeBannerImages | Collection of HomeBannerImage |
None. |
|
HomeSliderImages | Collection of HomeSliderImage |
None. |
Request Formats
application/json, text/json
Sample:
{ "HomePageSettingsId": 1, "ShowSlider": "sample string 2", "ShowTrendingItems": "sample string 3", "ShowNewItems": "sample string 4", "DisplayBannerImages": "sample string 5", "ShowAdvertisement": "sample string 6", "CompanyDetailId": 1, "HomeBannerImages": [ { "$id": "2", "HomeBannerImageId": 1, "HomePageSettingsId": 1, "BannerImageURL": "sample string 2", "CompanyDetailId": 1, "HomePageSetting": { "$ref": "1" } }, { "$ref": "2" } ], "HomeSliderImages": [ { "$id": "3", "HomeSliderImageId": 1, "HomePageSettingsId": 1, "ImageUrl": "sample string 2", "CompanyDetailId": 1, "HomePageSetting": { "$ref": "1" } }, { "$ref": "3" } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.