GET api/General/OfferManage/GetOfferDetailsById?offerId={offerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
offerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

OfferListItemVM
NameDescriptionTypeAdditional information
OfferID

integer

None.

OfferName

string

None.

OfferType

string

None.

IsCashbackType

boolean

None.

IsRedeemableToWallet

boolean

None.

IsBuyNGetM

boolean

None.

OfferOn

string

None.

OfferValueType

string

None.

PercentageOfferValue

decimal number

None.

FlatOfferValue

decimal number

None.

UpToDiscountAmount

decimal number

None.

ValidityStartDate

date

None.

ValidityEndDate

date

None.

RequiresCouponCode

boolean

None.

CanCombineWithOtherCoupon

boolean

None.

IsActive

boolean

None.

TermsAndConditions

string

None.

ApplicableFor

string

None.

AddedByUserType

string

None.

IsAutoApplicable

boolean

None.

OfferAvailabilityType

string

None.

UserID

string

None.

TransDate

date

None.

CouponCodes

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "OfferID": 1,
  "OfferName": "sample string 2",
  "OfferType": "sample string 3",
  "IsCashbackType": true,
  "IsRedeemableToWallet": true,
  "IsBuyNGetM": true,
  "OfferOn": "sample string 7",
  "OfferValueType": "sample string 8",
  "PercentageOfferValue": 1.1,
  "FlatOfferValue": 1.0,
  "UpToDiscountAmount": 1.0,
  "ValidityStartDate": "2025-12-07T09:58:00.9497412+05:30",
  "ValidityEndDate": "2025-12-07T09:58:00.9497412+05:30",
  "RequiresCouponCode": true,
  "CanCombineWithOtherCoupon": true,
  "IsActive": true,
  "TermsAndConditions": "sample string 12",
  "ApplicableFor": "sample string 13",
  "AddedByUserType": "sample string 14",
  "IsAutoApplicable": true,
  "OfferAvailabilityType": "sample string 16",
  "UserID": "sample string 17",
  "TransDate": "2025-12-07T09:58:00.9497412+05:30",
  "CouponCodes": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<OfferListItemVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
  <AddedByUserType>sample string 14</AddedByUserType>
  <ApplicableFor>sample string 13</ApplicableFor>
  <CanCombineWithOtherCoupon>true</CanCombineWithOtherCoupon>
  <CouponCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CouponCodes>
  <FlatOfferValue>1</FlatOfferValue>
  <IsActive>true</IsActive>
  <IsAutoApplicable>true</IsAutoApplicable>
  <IsBuyNGetM>true</IsBuyNGetM>
  <IsCashbackType>true</IsCashbackType>
  <IsRedeemableToWallet>true</IsRedeemableToWallet>
  <OfferAvailabilityType>sample string 16</OfferAvailabilityType>
  <OfferID>1</OfferID>
  <OfferName>sample string 2</OfferName>
  <OfferOn>sample string 7</OfferOn>
  <OfferType>sample string 3</OfferType>
  <OfferValueType>sample string 8</OfferValueType>
  <PercentageOfferValue>1.1</PercentageOfferValue>
  <RequiresCouponCode>true</RequiresCouponCode>
  <TermsAndConditions>sample string 12</TermsAndConditions>
  <TransDate>2025-12-07T09:58:00.9497412+05:30</TransDate>
  <UpToDiscountAmount>1</UpToDiscountAmount>
  <UserID>sample string 17</UserID>
  <ValidityEndDate>2025-12-07T09:58:00.9497412+05:30</ValidityEndDate>
  <ValidityStartDate>2025-12-07T09:58:00.9497412+05:30</ValidityStartDate>
</OfferListItemVM>