POST CreateAdvertisement?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
customadvertisement| Name | Description | Type | Additional 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": "d0d13843-031a-45ec-8195-ddd5109a3352",
"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:06.3658871+05:30",
"modifiedon": "2025-12-06T09:24:06.3814647+05:30",
"createdby": "29801c51-abaa-4dad-8f2c-a04e8a8579ce",
"modifiedby": "c9ce3fdb-511f-4af1-8051-9e3399b43eff",
"responseCode": 7,
"responsemessage": "sample string 8",
"authorid": "QEA=",
"categoryid": "bced8ae4-c479-4609-8a3d-b82f147f3fe6"
}
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>bced8ae4-c479-4609-8a3d-b82f147f3fe6</categoryid>
<createdby>29801c51-abaa-4dad-8f2c-a04e8a8579ce</createdby>
<createdon xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T03:54:06.3658871Z</d2p1:DateTime>
<d2p1:OffsetMinutes>330</d2p1:OffsetMinutes>
</createdon>
<id>d0d13843-031a-45ec-8195-ddd5109a3352</id>
<image>sample string 2</image>
<isactive>true</isactive>
<isapproved>true</isapproved>
<isdelete>true</isdelete>
<isfeature>true</isfeature>
<modifiedby>c9ce3fdb-511f-4af1-8051-9e3399b43eff</modifiedby>
<modifiedon xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T03:54:06.3814647Z</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.