POST api/Advertisement/CreateAdvertisement
Request Information
URI Parameters
None.
Body Parameters
CreateAdvertisementReqModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | integer |
Required |
|
| CampaignName | string |
Required String length: inclusive between 0 and 100 |
|
| TargetURL | string |
String length: inclusive between 0 and 250 |
|
| LargeImage | string |
Required String length: inclusive between 0 and 250 |
|
| MobileImage | string |
Required String length: inclusive between 0 and 250 |
|
| Priority | integer |
Required |
|
| DisplayOrder | integer |
None. |
|
| isDetailPage | boolean |
None. |
|
| StartDate | date |
Required |
|
| EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": 1,
"CampaignName": "sample string 1",
"TargetURL": "sample string 2",
"LargeImage": "sample string 3",
"MobileImage": "sample string 4",
"Priority": 1,
"DisplayOrder": 5,
"isDetailPage": true,
"StartDate": "2025-10-27T12:13:41.3780082+05:30",
"EndDate": "2025-10-27T12:13:41.3780082+05:30"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.