POST api/AppBannerAPI/NewInsertUpdateAppBanner
Request Information
URI Parameters
None.
Body Parameters
AppBannerDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
BannerName | string |
None. |
|
BannerImage | string |
None. |
|
StartDate | string |
None. |
|
EndDate | string |
None. |
|
IsClickable | boolean |
None. |
|
MainCategoryId | integer |
None. |
|
SubCategoryId | integer |
None. |
|
ItemId | integer |
None. |
|
BannerImageUpload | boolean |
None. |
|
FlagId | integer |
None. |
|
BannerType | integer |
None. |
|
IsActive | boolean |
None. |
|
CreatedBy | integer |
None. |
|
IsDeleted | boolean |
None. |
|
Message | string |
None. |
|
MessageAr | string |
None. |
|
UserId | integer |
None. |
|
AdminId | integer |
None. |
|
UserBrandId | integer |
None. |
|
RoleId | integer |
None. |
|
Status | boolean |
None. |
|
datasetxml | string |
None. |
|
StatusCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "BannerName": "sample string 2", "BannerImage": "sample string 3", "StartDate": "sample string 4", "EndDate": "sample string 5", "IsClickable": true, "MainCategoryId": 7, "SubCategoryId": 8, "ItemId": 9, "BannerImageUpload": true, "FlagId": 11, "BannerType": 12, "IsActive": true, "CreatedBy": 13, "IsDeleted": true, "Message": "sample string 15", "MessageAr": "sample string 16", "UserId": 17, "AdminId": 18, "UserBrandId": 19, "RoleId": 20, "Status": true, "datasetxml": "sample string 22", "StatusCode": 23 }
application/xml, text/xml
Sample:
<AppBannerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s"> <AdminId>18</AdminId> <CreatedBy>13</CreatedBy> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <Message>sample string 15</Message> <MessageAr>sample string 16</MessageAr> <RoleId>20</RoleId> <Status>true</Status> <StatusCode>23</StatusCode> <UserBrandId>19</UserBrandId> <UserId>17</UserId> <datasetxml>sample string 22</datasetxml> <BannerImage>sample string 3</BannerImage> <BannerImageUpload>true</BannerImageUpload> <BannerName>sample string 2</BannerName> <BannerType>12</BannerType> <EndDate>sample string 5</EndDate> <FlagId>11</FlagId> <Id>1</Id> <IsClickable>true</IsClickable> <ItemId>9</ItemId> <MainCategoryId>7</MainCategoryId> <StartDate>sample string 4</StartDate> <SubCategoryId>8</SubCategoryId> </AppBannerDTO>
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.