GET api/General/Offer/GetCustOfferListByID?UserID={UserID}&PartnerID={PartnerID}&PartnerAddedOnly={PartnerAddedOnly}&AdminAddedOnly={AdminAddedOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

string

Required

PartnerID

string

Required

PartnerAddedOnly

boolean

Required

AdminAddedOnly

boolean

Required

Body Parameters

None.

Response Information

Resource Description

GenericOfferApiVM
NameDescriptionTypeAdditional information
CustOfferDetailList

Collection of GenericOfferViewModel

None.

TotalRecords

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CustOfferDetailList": [
    {
      "OfferID": "sample string 1",
      "MinTransAmt": 2.0,
      "OfferPercent": 1,
      "FlatOfferAmt": 1.0,
      "ValidFrom": "2025-12-07T10:02:19.6385787+05:30",
      "ValidUpto": "2025-12-07T10:02:19.6385787+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:02:19.6385787+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:02:19.6385787+05:30",
      "NextApplicableEndTime": "2025-12-07T10:02:19.6385787+05:30",
      "OfferEndsForTheDayOn": "2025-12-07T10:02:19.6385787+05:30",
      "OfferStartedForTheDayOn": "2025-12-07T10:02:19.6385787+05:30"
    },
    {
      "OfferID": "sample string 1",
      "MinTransAmt": 2.0,
      "OfferPercent": 1,
      "FlatOfferAmt": 1.0,
      "ValidFrom": "2025-12-07T10:02:19.6385787+05:30",
      "ValidUpto": "2025-12-07T10:02:19.6385787+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:02:19.6385787+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:02:19.6385787+05:30",
      "NextApplicableEndTime": "2025-12-07T10:02:19.6385787+05:30",
      "OfferEndsForTheDayOn": "2025-12-07T10:02:19.6385787+05:30",
      "OfferStartedForTheDayOn": "2025-12-07T10:02:19.6385787+05:30"
    }
  ],
  "TotalRecords": 1
}

application/xml, text/xml

Sample:
<GenericOfferApiVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
  <CustOfferDetailList>
    <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:02:19.6385787+05:30</NextApplicableEndTime>
      <NextApplicableTime>2025-12-07T10:02:19.6385787+05:30</NextApplicableTime>
      <NonApplicabilityReason>sample string 22</NonApplicabilityReason>
      <OfferCategory>sample string 15</OfferCategory>
      <OfferCode>sample string 11</OfferCode>
      <OfferEndsForTheDayOn>2025-12-07T10:02:19.6385787+05:30</OfferEndsForTheDayOn>
      <OfferID>sample string 1</OfferID>
      <OfferPercent>1</OfferPercent>
      <OfferStartedForTheDayOn>2025-12-07T10:02:19.6385787+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:02:19.6385787+05:30</TransDate>
      <UserID>sample string 14</UserID>
      <ValidFrom>2025-12-07T10:02:19.6385787+05:30</ValidFrom>
      <ValidUpto>2025-12-07T10:02:19.6385787+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:02:19.6385787+05:30</NextApplicableEndTime>
      <NextApplicableTime>2025-12-07T10:02:19.6385787+05:30</NextApplicableTime>
      <NonApplicabilityReason>sample string 22</NonApplicabilityReason>
      <OfferCategory>sample string 15</OfferCategory>
      <OfferCode>sample string 11</OfferCode>
      <OfferEndsForTheDayOn>2025-12-07T10:02:19.6385787+05:30</OfferEndsForTheDayOn>
      <OfferID>sample string 1</OfferID>
      <OfferPercent>1</OfferPercent>
      <OfferStartedForTheDayOn>2025-12-07T10:02:19.6385787+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:02:19.6385787+05:30</TransDate>
      <UserID>sample string 14</UserID>
      <ValidFrom>2025-12-07T10:02:19.6385787+05:30</ValidFrom>
      <ValidUpto>2025-12-07T10:02:19.6385787+05:30</ValidUpto>
    </GenericOfferViewModel>
  </CustOfferDetailList>
  <TotalRecords>1</TotalRecords>
</GenericOfferApiVM>