GET api/General/Offer/GetAllOffersByUserID?UserID={UserID}&PartnerID={PartnerID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

string

Required

PartnerID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GenericOfferViewModel
NameDescriptionTypeAdditional information
OfferID

string

None.

MinTransAmt

decimal number

None.

OfferPercent

integer

None.

FlatOfferAmt

decimal number

None.

ValidFrom

date

None.

ValidUpto

date

None.

OfferedByPartner

boolean

None.

PartnerID

string

None.

IsActive

boolean

None.

Title

string

None.

Description

string

None.

LongDesc

string

None.

OfferCode

string

None.

OfferType

string

None.

IsCustomerSpecific

boolean

None.

UserID

string

None.

OfferCategory

string

None.

TransDate

date

None.

AppliedInCart

boolean

None.

AutoApply

boolean

None.

CouponType

string

None.

ApplicableFor

string

None.

DailyLimit

integer

None.

BudgetAmount

decimal number

None.

CurrentlyApplicable

boolean

None.

NonApplicabilityReason

string

None.

NextApplicableTime

date

None.

NextApplicableEndTime

date

None.

OfferEndsForTheDayOn

date

None.

OfferStartedForTheDayOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OfferID": "sample string 1",
    "MinTransAmt": 2.0,
    "OfferPercent": 1,
    "FlatOfferAmt": 1.0,
    "ValidFrom": "2025-12-07T10:00:57.511276+05:30",
    "ValidUpto": "2025-12-07T10:00:57.511276+05:30",
    "OfferedByPartner": true,
    "PartnerID": "sample string 6",
    "IsActive": true,
    "Title": "sample string 8",
    "Description": "sample string 9",
    "LongDesc": "sample string 10",
    "OfferCode": "sample string 11",
    "OfferType": "sample string 12",
    "IsCustomerSpecific": true,
    "UserID": "sample string 14",
    "OfferCategory": "sample string 15",
    "TransDate": "2025-12-07T10:00:57.511276+05:30",
    "AppliedInCart": true,
    "AutoApply": true,
    "CouponType": "sample string 19",
    "ApplicableFor": "sample string 20",
    "DailyLimit": 1,
    "BudgetAmount": 1.0,
    "CurrentlyApplicable": true,
    "NonApplicabilityReason": "sample string 22",
    "NextApplicableTime": "2025-12-07T10:00:57.511276+05:30",
    "NextApplicableEndTime": "2025-12-07T10:00:57.511276+05:30",
    "OfferEndsForTheDayOn": "2025-12-07T10:00:57.511276+05:30",
    "OfferStartedForTheDayOn": "2025-12-07T10:00:57.511276+05:30"
  },
  {
    "OfferID": "sample string 1",
    "MinTransAmt": 2.0,
    "OfferPercent": 1,
    "FlatOfferAmt": 1.0,
    "ValidFrom": "2025-12-07T10:00:57.511276+05:30",
    "ValidUpto": "2025-12-07T10:00:57.511276+05:30",
    "OfferedByPartner": true,
    "PartnerID": "sample string 6",
    "IsActive": true,
    "Title": "sample string 8",
    "Description": "sample string 9",
    "LongDesc": "sample string 10",
    "OfferCode": "sample string 11",
    "OfferType": "sample string 12",
    "IsCustomerSpecific": true,
    "UserID": "sample string 14",
    "OfferCategory": "sample string 15",
    "TransDate": "2025-12-07T10:00:57.511276+05:30",
    "AppliedInCart": true,
    "AutoApply": true,
    "CouponType": "sample string 19",
    "ApplicableFor": "sample string 20",
    "DailyLimit": 1,
    "BudgetAmount": 1.0,
    "CurrentlyApplicable": true,
    "NonApplicabilityReason": "sample string 22",
    "NextApplicableTime": "2025-12-07T10:00:57.511276+05:30",
    "NextApplicableEndTime": "2025-12-07T10:00:57.511276+05:30",
    "OfferEndsForTheDayOn": "2025-12-07T10:00:57.511276+05:30",
    "OfferStartedForTheDayOn": "2025-12-07T10:00:57.511276+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGenericOfferViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
  <GenericOfferViewModel>
    <ApplicableFor>sample string 20</ApplicableFor>
    <AppliedInCart>true</AppliedInCart>
    <AutoApply>true</AutoApply>
    <BudgetAmount>1</BudgetAmount>
    <CouponType>sample string 19</CouponType>
    <CurrentlyApplicable>true</CurrentlyApplicable>
    <DailyLimit>1</DailyLimit>
    <Description>sample string 9</Description>
    <FlatOfferAmt>1</FlatOfferAmt>
    <IsActive>true</IsActive>
    <IsCustomerSpecific>true</IsCustomerSpecific>
    <LongDesc>sample string 10</LongDesc>
    <MinTransAmt>2</MinTransAmt>
    <NextApplicableEndTime>2025-12-07T10:00:57.511276+05:30</NextApplicableEndTime>
    <NextApplicableTime>2025-12-07T10:00:57.511276+05:30</NextApplicableTime>
    <NonApplicabilityReason>sample string 22</NonApplicabilityReason>
    <OfferCategory>sample string 15</OfferCategory>
    <OfferCode>sample string 11</OfferCode>
    <OfferEndsForTheDayOn>2025-12-07T10:00:57.511276+05:30</OfferEndsForTheDayOn>
    <OfferID>sample string 1</OfferID>
    <OfferPercent>1</OfferPercent>
    <OfferStartedForTheDayOn>2025-12-07T10:00:57.511276+05:30</OfferStartedForTheDayOn>
    <OfferType>sample string 12</OfferType>
    <OfferedByPartner>true</OfferedByPartner>
    <PartnerID>sample string 6</PartnerID>
    <Title>sample string 8</Title>
    <TransDate>2025-12-07T10:00:57.511276+05:30</TransDate>
    <UserID>sample string 14</UserID>
    <ValidFrom>2025-12-07T10:00:57.511276+05:30</ValidFrom>
    <ValidUpto>2025-12-07T10:00:57.511276+05:30</ValidUpto>
  </GenericOfferViewModel>
  <GenericOfferViewModel>
    <ApplicableFor>sample string 20</ApplicableFor>
    <AppliedInCart>true</AppliedInCart>
    <AutoApply>true</AutoApply>
    <BudgetAmount>1</BudgetAmount>
    <CouponType>sample string 19</CouponType>
    <CurrentlyApplicable>true</CurrentlyApplicable>
    <DailyLimit>1</DailyLimit>
    <Description>sample string 9</Description>
    <FlatOfferAmt>1</FlatOfferAmt>
    <IsActive>true</IsActive>
    <IsCustomerSpecific>true</IsCustomerSpecific>
    <LongDesc>sample string 10</LongDesc>
    <MinTransAmt>2</MinTransAmt>
    <NextApplicableEndTime>2025-12-07T10:00:57.511276+05:30</NextApplicableEndTime>
    <NextApplicableTime>2025-12-07T10:00:57.511276+05:30</NextApplicableTime>
    <NonApplicabilityReason>sample string 22</NonApplicabilityReason>
    <OfferCategory>sample string 15</OfferCategory>
    <OfferCode>sample string 11</OfferCode>
    <OfferEndsForTheDayOn>2025-12-07T10:00:57.511276+05:30</OfferEndsForTheDayOn>
    <OfferID>sample string 1</OfferID>
    <OfferPercent>1</OfferPercent>
    <OfferStartedForTheDayOn>2025-12-07T10:00:57.511276+05:30</OfferStartedForTheDayOn>
    <OfferType>sample string 12</OfferType>
    <OfferedByPartner>true</OfferedByPartner>
    <PartnerID>sample string 6</PartnerID>
    <Title>sample string 8</Title>
    <TransDate>2025-12-07T10:00:57.511276+05:30</TransDate>
    <UserID>sample string 14</UserID>
    <ValidFrom>2025-12-07T10:00:57.511276+05:30</ValidFrom>
    <ValidUpto>2025-12-07T10:00:57.511276+05:30</ValidUpto>
  </GenericOfferViewModel>
</ArrayOfGenericOfferViewModel>