POST api/AdvertisementManagement/SaveEditAdvertisement
Request Information
URI Parameters
None.
Body Parameters
AdvertisementMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| AdMasterId | integer |
None. |
|
| Name | string |
None. |
|
| AlternateText | string |
None. |
|
| ImageUrl | string |
None. |
|
| Impressions | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Status | boolean |
None. |
|
| InsertedBy | integer |
None. |
|
| InsertedOn | date |
None. |
|
| InsertedMachineInfo | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedMachineInfo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"adMasterId": 1,
"name": "sample string 2",
"alternateText": "sample string 3",
"imageUrl": "sample string 4",
"impressions": 5,
"startDate": "2025-12-15T08:50:48.4568857-08:00",
"endDate": "2025-12-15T08:50:48.4568857-08:00",
"status": true,
"insertedBy": 9,
"insertedOn": "2025-12-15T08:50:48.4568857-08:00",
"insertedMachineInfo": "sample string 11",
"updatedBy": 1,
"updatedOn": "2025-12-15T08:50:48.4568857-08:00",
"updatedMachineInfo": "sample string 12"
}
multipart/form-data, application/octet-stream
Sample:
{"adMasterId":1,"name":"sample string 2","alternateText":"sample string 3","imageUrl":"sample string 4","impressions":5,"startDate":"2025-12-15T08:50:48.4568857-08:00","endDate":"2025-12-15T08:50:48.4568857-08:00","status":true,"insertedBy":9,"insertedOn":"2025-12-15T08:50:48.4568857-08:00","insertedMachineInfo":"sample string 11","updatedBy":1,"updatedOn":"2025-12-15T08:50:48.4568857-08:00","updatedMachineInfo":"sample string 12"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| Msg | Object |
None. |
|
| token | Object |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {}
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{}}