| GET,POST | /UserContentfulWhatsNewBanners | Gets whats new banners | Gets whats new banners for apps from contentful |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Platform | body | string | No | |
| Version | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WhatsNewBanner | form | List<ContentfulWhatsNewBanner> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorNo | form | int | No | |
| Message | form | string | No | |
| Identity | form | long? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| BannerTitle | form | string | No | |
| BannerBodyHtml | form | string | No | |
| BannerImageUrl | form | string | No | |
| BannerImageHeight | form | decimal | No | |
| BannerImageWidth | form | decimal | No | |
| ShowToLoggedIn | form | bool | No | |
| ShowToLoggedOut | form | bool | No | |
| BannerLinkUrl | form | string | No | |
| VisibleOnWebsite | form | bool | No | |
| VisibleOnAndroid | form | bool | No | |
| VisibleOnIOS | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /UserContentfulWhatsNewBanners HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Platform":"String","Version":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"WhatsNewBanner":[{"Id":0,"BannerTitle":"String","BannerBodyHtml":"String","BannerImageUrl":"String","BannerImageHeight":0,"BannerImageWidth":0,"ShowToLoggedIn":false,"ShowToLoggedOut":false,"BannerLinkUrl":"String","VisibleOnWebsite":false,"VisibleOnAndroid":false,"VisibleOnIOS":false}],"ErrorNo":0,"Message":"String","Identity":0}