POST UpdateAdvertisement?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

customadvertisement
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

image

string

None.

advocate

string

None.

title

string

None.

Description

string

None.

videourl

string

None.

isapproved

boolean

None.

isfeature

boolean

None.

isactive

boolean

None.

isdelete

boolean

None.

createdon

date

None.

modifiedon

date

None.

createdby

globally unique identifier

None.

modifiedby

globally unique identifier

None.

responseCode

integer

None.

responsemessage

string

None.

authorid

Collection of byte

None.

categoryid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "4b7a5ba1-d38b-40bb-8860-129414bbcd24",
  "image": "sample string 2",
  "advocate": "sample string 3",
  "title": "sample string 4",
  "Description": "sample string 5",
  "videourl": "sample string 6",
  "isapproved": true,
  "isfeature": true,
  "isactive": true,
  "isdelete": true,
  "createdon": "2025-12-06T09:24:55.4393207+05:30",
  "modifiedon": "2025-12-06T09:24:55.4393207+05:30",
  "createdby": "8970eee8-94c3-446a-9b83-939607927085",
  "modifiedby": "bda6bbbf-ffc6-4468-acab-40a9b39cbf41",
  "responseCode": 7,
  "responsemessage": "sample string 8",
  "authorid": "QEA=",
  "categoryid": "65b483f2-ab91-446a-a78e-153d52c017e0"
}

application/xml, text/xml

Sample:
<customadvertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LawQuorum.Models">
  <Description>sample string 5</Description>
  <advocate>sample string 3</advocate>
  <authorid>QEA=</authorid>
  <categoryid>65b483f2-ab91-446a-a78e-153d52c017e0</categoryid>
  <createdby>8970eee8-94c3-446a-9b83-939607927085</createdby>
  <createdon xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T03:54:55.4393207Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>330</d2p1:OffsetMinutes>
  </createdon>
  <id>4b7a5ba1-d38b-40bb-8860-129414bbcd24</id>
  <image>sample string 2</image>
  <isactive>true</isactive>
  <isapproved>true</isapproved>
  <isdelete>true</isdelete>
  <isfeature>true</isfeature>
  <modifiedby>bda6bbbf-ffc6-4468-acab-40a9b39cbf41</modifiedby>
  <modifiedon xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T03:54:55.4393207Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>330</d2p1:OffsetMinutes>
  </modifiedon>
  <responseCode>7</responseCode>
  <responsemessage>sample string 8</responsemessage>
  <title>sample string 4</title>
  <videourl>sample string 6</videourl>
</customadvertisement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.