PUT api/Advertisements/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Advertisement| Name | Description | Type | Additional information |
|---|---|---|---|
| AdvertisementId | integer |
None. |
|
| Description | string |
None. |
|
| ImagePath | string |
None. |
|
| StatusId | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AdvertisementId": 1,
"Description": "sample string 2",
"ImagePath": "sample string 3",
"StatusId": 1,
"CreatedDate": "2025-12-11T15:29:45.8601438+05:30",
"CreatedBy": 1,
"UpdatedDate": "2025-12-11T15:29:45.8601438+05:30",
"UpdatedBy": 1
}
application/xml, text/xml
Sample:
<Advertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess"> <AdvertisementId>1</AdvertisementId> <CreatedBy>1</CreatedBy> <CreatedDate>2025-12-11T15:29:45.8601438+05:30</CreatedDate> <Description>sample string 2</Description> <ImagePath>sample string 3</ImagePath> <StatusId>1</StatusId> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-12-11T15:29:45.8601438+05:30</UpdatedDate> </Advertisement>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.