POST api/offer/{applicationId}/update

Request Information

URI Parameters

NameDescriptionTypeAdditional information
applicationId

integer

Required

Body Parameters

EntityOffer
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Percentage": 3,
  "ExpiryDate": "2026-06-04T00:54:00.7868624+02:00",
  "ExpiryDateTime": "Jun 04 2026 12:54 AM",
  "Limit": 5,
  "Status": 1,
  "CreatedBy": 6,
  "CreatedOn": "2026-06-04T00:54:00.7868624+02:00",
  "CreatedDateTime": "Jun 04 2026 12:54 AM",
  "UpdatedBy": 1,
  "UpdatedOn": "2026-06-04T00:54:00.7868624+02:00",
  "UpdatedDateTime": "Jun 04 2026 12:54 AM",
  "ApplicationId": 1,
  "StartDate": "2026-06-04T00:54:00.7868624+02:00",
  "StartDateTime": "Jun 04 2026 12:54 AM",
  "IsActive": true,
  "IsGlobal": 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-06-04T00:54:00.7868624+02:00</CreatedOn>
  <ExpiryDate>2026-06-04T00:54:00.7868624+02:00</ExpiryDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsGlobal>true</IsGlobal>
  <Limit>5</Limit>
  <Percentage>3</Percentage>
  <StartDate>2026-06-04T00:54:00.7868624+02:00</StartDate>
  <Status>1</Status>
  <Title>sample string 2</Title>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedOn>2026-06-04T00:54:00.7868624+02:00</UpdatedOn>
</EntityOffer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.