PATCH api/Banner/UpdateBanner
Update banner
Request Information
URI Parameters
None.
Body Parameters
BannerContentListName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Persona | string |
None. |
|
LanguageCode | string |
None. |
|
Rank | integer |
None. |
|
Description | string |
None. |
|
BannerTypeID | globally unique identifier |
None. |
|
BannerType | string |
None. |
|
CarouselType | string |
None. |
|
ImageURL | string |
None. |
|
ActionURL | string |
None. |
|
ActionType | string |
None. |
|
ADIPartNumber | string |
None. |
|
JSONURLContentObject | string |
None. |
|
CreatedOn | date |
None. |
|
ModifiedOn | date |
None. |
|
ProductId | globally unique identifier |
None. |
|
DealType | string |
None. |
|
NavigationPath | string |
None. |
|
BannerLocation | string |
None. |
|
UniqueIdentifier | string |
None. |
|
Status | string |
None. |
|
CategoryId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "f98582ce-f03a-41ea-a48b-0dbe8c39811e", "StartDate": "2025-03-20T01:03:22.0360799+00:00", "EndDate": "2025-03-20T01:03:22.0360799+00:00", "Persona": "sample string 2", "LanguageCode": "sample string 3", "Rank": 4, "Description": "sample string 5", "BannerTypeID": "31104fe3-4775-49ae-851a-62841a9c3c54", "BannerType": "sample string 7", "CarouselType": "sample string 8", "ImageURL": "sample string 9", "ActionURL": "sample string 10", "ActionType": "sample string 11", "ADIPartNumber": "sample string 12", "JSONURLContentObject": "sample string 13", "CreatedOn": "2025-03-20T01:03:22.0360799+00:00", "ModifiedOn": "2025-03-20T01:03:22.0360799+00:00", "ProductId": "147da18b-1b26-4ecb-a1ea-471e9f7619e4", "DealType": "sample string 15", "NavigationPath": "sample string 16", "BannerLocation": "sample string 17", "UniqueIdentifier": "sample string 18", "Status": "sample string 19", "CategoryId": "64717f9b-190f-44e3-860f-373b74c06065" }
application/xml, text/xml
Sample:
<BannerContentList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adi.DataModel"> <ADIPartNumber>sample string 12</ADIPartNumber> <ActionType>sample string 11</ActionType> <ActionURL>sample string 10</ActionURL> <BannerLocation>sample string 17</BannerLocation> <BannerType>sample string 7</BannerType> <BannerTypeID>31104fe3-4775-49ae-851a-62841a9c3c54</BannerTypeID> <CarouselType>sample string 8</CarouselType> <CategoryId>64717f9b-190f-44e3-860f-373b74c06065</CategoryId> <CreatedOn>2025-03-20T01:03:22.0360799+00:00</CreatedOn> <DealType>sample string 15</DealType> <Description>sample string 5</Description> <EndDate>2025-03-20T01:03:22.0360799+00:00</EndDate> <ID>f98582ce-f03a-41ea-a48b-0dbe8c39811e</ID> <ImageURL>sample string 9</ImageURL> <JSONURLContentObject>sample string 13</JSONURLContentObject> <LanguageCode>sample string 3</LanguageCode> <ModifiedOn>2025-03-20T01:03:22.0360799+00:00</ModifiedOn> <NavigationPath>sample string 16</NavigationPath> <Persona>sample string 2</Persona> <ProductId>147da18b-1b26-4ecb-a1ea-471e9f7619e4</ProductId> <Rank>4</Rank> <StartDate>2025-03-20T01:03:22.0360799+00:00</StartDate> <Status>sample string 19</Status> <UniqueIdentifier>sample string 18</UniqueIdentifier> </BannerContentList>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomActionResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
StatusCode | HttpStatusCode |
None. |
|
_data | integer |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.