PATCH api/Banner/UpdateBanner

Update banner

Request Information

URI Parameters

None.

Body Parameters

BannerContentList
NameDescriptionTypeAdditional 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": "8a7bda0b-5edc-4154-b3e2-451f52233915",
  "StartDate": "2024-09-13T23:26:30.8054128+00:00",
  "EndDate": "2024-09-13T23:26:30.8054128+00:00",
  "Persona": "sample string 2",
  "LanguageCode": "sample string 3",
  "Rank": 4,
  "Description": "sample string 5",
  "BannerTypeID": "4ead9353-ca81-4460-9598-1b1bf99e76b5",
  "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": "2024-09-13T23:26:30.8054128+00:00",
  "ModifiedOn": "2024-09-13T23:26:30.8054128+00:00",
  "ProductId": "a421705d-36b5-42b2-b14a-24a11a52ed76",
  "DealType": "sample string 15",
  "NavigationPath": "sample string 16",
  "BannerLocation": "sample string 17",
  "UniqueIdentifier": "sample string 18",
  "Status": "sample string 19",
  "CategoryId": "8f7a1558-f2fd-4568-8676-9ea5cb4fdd98"
}

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>4ead9353-ca81-4460-9598-1b1bf99e76b5</BannerTypeID>
  <CarouselType>sample string 8</CarouselType>
  <CategoryId>8f7a1558-f2fd-4568-8676-9ea5cb4fdd98</CategoryId>
  <CreatedOn>2024-09-13T23:26:30.8054128+00:00</CreatedOn>
  <DealType>sample string 15</DealType>
  <Description>sample string 5</Description>
  <EndDate>2024-09-13T23:26:30.8054128+00:00</EndDate>
  <ID>8a7bda0b-5edc-4154-b3e2-451f52233915</ID>
  <ImageURL>sample string 9</ImageURL>
  <JSONURLContentObject>sample string 13</JSONURLContentObject>
  <LanguageCode>sample string 3</LanguageCode>
  <ModifiedOn>2024-09-13T23:26:30.8054128+00:00</ModifiedOn>
  <NavigationPath>sample string 16</NavigationPath>
  <Persona>sample string 2</Persona>
  <ProductId>a421705d-36b5-42b2-b14a-24a11a52ed76</ProductId>
  <Rank>4</Rank>
  <StartDate>2024-09-13T23:26:30.8054128+00:00</StartDate>
  <Status>sample string 19</Status>
  <UniqueIdentifier>sample string 18</UniqueIdentifier>
</BannerContentList>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BannerContentList'.

Response Information

Resource Description

CustomActionResultOfInt32
NameDescriptionTypeAdditional information
StatusCode

HttpStatusCode

None.

_data

integer

None.

Response Formats

application/json, text/json

Sample:

Sample not available.