POST api/offer/{applicationId}/update
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| applicationId | integer |
Required |
Body Parameters
EntityOffer| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Percentage | integer |
None. |
|
| ExpiryDate | date |
None. |
|
| ExpiryDateTime | string |
None. |
|
| Limit | integer |
None. |
|
| Status | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedDateTime | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedDateTime | string |
None. |
|
| ApplicationId | integer |
None. |
|
| StartDate | date |
None. |
|
| StartDateTime | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsGlobal | boolean |
None. |
|
| Identifier | string |
None. |
|
| _imageUrl | string |
None. |
|
| ImageUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Percentage": 3,
"ExpiryDate": "2026-07-22T12:25:30.4770085-07:00",
"ExpiryDateTime": "Jul 22 2026 12:25 PM",
"Limit": 5,
"Status": 1,
"CreatedBy": 6,
"CreatedOn": "2026-07-22T12:25:30.4770085-07:00",
"CreatedDateTime": "Jul 22 2026 12:25 PM",
"UpdatedBy": 1,
"UpdatedOn": "2026-07-22T12:25:30.4770085-07:00",
"UpdatedDateTime": "Jul 22 2026 12:25 PM",
"ApplicationId": 1,
"StartDate": "2026-07-22T12:25:30.4770085-07:00",
"StartDateTime": "Jul 22 2026 12:25 PM",
"IsActive": true,
"IsGlobal": true,
"Identifier": "sample string 9",
"_imageUrl": "sample string 10",
"ImageUrl": "https://cdn.img.gen.in/assets/business/1/offers/1/sample string 10?rendered=true"
}
application/xml, text/xml
Sample:
<EntityOffer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.Business.Entity"> <ApplicationId>1</ApplicationId> <CreatedBy>6</CreatedBy> <CreatedOn>2026-07-22T12:25:30.4770085-07:00</CreatedOn> <ExpiryDate>2026-07-22T12:25:30.4770085-07:00</ExpiryDate> <Id>1</Id> <Identifier>sample string 9</Identifier> <IsActive>true</IsActive> <IsGlobal>true</IsGlobal> <Limit>5</Limit> <Percentage>3</Percentage> <StartDate>2026-07-22T12:25:30.4770085-07:00</StartDate> <Status>1</Status> <Title>sample string 2</Title> <UpdatedBy>1</UpdatedBy> <UpdatedOn>2026-07-22T12:25:30.4770085-07:00</UpdatedOn> <_imageUrl>sample string 10</_imageUrl> </EntityOffer>
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.