POST api/WebApp/GetLoyaltyTemplateDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfPromotionTemplateDetailsPayload
NameDescriptionTypeAdditional information
ReturnValue

PromotionTemplateDetailsPayload

None.

ReturnType

string

None.

IsSuccess

boolean

None.

Message

string

None.

Schema

string

None.

UTCDate

date

None.

Token

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnValue": {
    "Status": "sample string 1",
    "Remarks": "sample string 2",
    "ToUser": "sample string 3",
    "ToRole": "sample string 4",
    "Action": "sample string 5",
    "RemarksHistory": "sample string 6",
    "WorkflowID": "sample string 7",
    "StartDate": "2024-11-27T19:43:38.9824945+03:00",
    "EndDate": "2024-11-27T19:43:38.9824945+03:00",
    "Slabs": [
      {
        "SlabTemplateID": 1,
        "PromotionTemplateID": "sample string 2",
        "SpentFrom": 3.0,
        "SpentTo": 1.0,
        "LoyaltyPntMul": 4.0,
        "LoyaltyFloor": 5.0,
        "LoyaltyCeiling": 1.0,
        "Active": "sample string 6",
        "CreatedBy": "sample string 7",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 9",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 11
      },
      {
        "SlabTemplateID": 1,
        "PromotionTemplateID": "sample string 2",
        "SpentFrom": 3.0,
        "SpentTo": 1.0,
        "LoyaltyPntMul": 4.0,
        "LoyaltyFloor": 5.0,
        "LoyaltyCeiling": 1.0,
        "Active": "sample string 6",
        "CreatedBy": "sample string 7",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 9",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 11
      }
    ],
    "PromotionPartners": [
      {
        "PromotionTemplateID": "sample string 1",
        "PartnerID": 2,
        "PointsToCcyConvFact": 3.0,
        "CreatedBy": "sample string 4",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 6",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 8
      },
      {
        "PromotionTemplateID": "sample string 1",
        "PartnerID": 2,
        "PointsToCcyConvFact": 3.0,
        "CreatedBy": "sample string 4",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 6",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 8
      }
    ],
    "PromotionIssuerBINS": [
      {
        "PromotionTemplateID": "sample string 1",
        "BIN": "sample string 2",
        "PointsToCcyConvFact": 1.0,
        "CreatedBy": "sample string 3",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 5",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 7
      },
      {
        "PromotionTemplateID": "sample string 1",
        "BIN": "sample string 2",
        "PointsToCcyConvFact": 1.0,
        "CreatedBy": "sample string 3",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 5",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 7
      }
    ],
    "PromotionConditions": [
      {
        "PromotionTemplateID": "sample string 1",
        "BonusEvent": "sample string 2",
        "Operand": "sample string 3",
        "ParameterValue": 4,
        "MonitoringFrequency": "sample string 5",
        "BonusPoints": 6,
        "Active": "sample string 7",
        "CreatedBy": "sample string 8",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 10",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 12
      },
      {
        "PromotionTemplateID": "sample string 1",
        "BonusEvent": "sample string 2",
        "Operand": "sample string 3",
        "ParameterValue": 4,
        "MonitoringFrequency": "sample string 5",
        "BonusPoints": 6,
        "Active": "sample string 7",
        "CreatedBy": "sample string 8",
        "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
        "ModifiedBy": "sample string 10",
        "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
        "RecOwnerOrgID": 12
      }
    ],
    "Logostring": "sample string 10",
    "PromotionTemplateID": "sample string 11",
    "PromotionStatus": "sample string 12",
    "PromotionName": "sample string 13",
    "PromotionDescription": "sample string 14",
    "PromotionLogo": "sample string 15",
    "PromotionTimeDimType": "sample string 16",
    "PromotionDateFrom": "2024-11-27T19:43:38.9824945+03:00",
    "PromotionDateFromDBStr": "sample string 18",
    "PromotionDateFromStr": "sample string 19",
    "PromotionDateTo": "2024-11-27T19:43:38.9824945+03:00",
    "PromotionDateToDBStr": "sample string 21",
    "PromotionDateToStr": "sample string 22",
    "PointsToCcyConvFact": 23.0,
    "CreatedBy": "sample string 24",
    "CreatedDate": "2024-11-27T19:43:38.9824945+03:00",
    "ModifiedBy": "sample string 26",
    "ModifiedDate": "2024-11-27T19:43:38.9824945+03:00",
    "RecOwnerOrgID": 28,
    "PromotionType": "sample string 29",
    "LoyaltyServiceFee": 30.0,
    "LoyaltyServiceFeeCollectionParameter": "sample string 31",
    "BankID": 32,
    "SpecialTreatmentforPartnerBank": "sample string 33",
    "IssuerDrivenMode": "sample string 34",
    "OverrideTreatmentofIssuerBINs": "sample string 35",
    "LoyaltyFeeFixed": 36,
    "PointstoCcyThresholdAmount": 37,
    "OrganizationID": 38,
    "CurrencyCode": "sample string 39",
    "AllocationThreshold": 40,
    "SignupBonusPoints": 41,
    "YearlyRetentionBonus": 42,
    "LoyaltyReceipt": "sample string 43",
    "AcquiererID": 44
  },
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-27T19:43:38.9824945+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfPromotionTemplateDetailsPayloadcp3c2scg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <ResponseCode>sample string 7</ResponseCode>
  <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Payloads.Promotion">
    <AcquiererID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">44</AcquiererID>
    <AllocationThreshold xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">40</AllocationThreshold>
    <BankID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">32</BankID>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 24</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">2024-11-27T19:43:38.9824945+03:00</CreatedDate>
    <CurrencyCode xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 39</CurrencyCode>
    <IssuerDrivenMode xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 34</IssuerDrivenMode>
    <LoyaltyFeeFixed xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">36</LoyaltyFeeFixed>
    <LoyaltyReceipt xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 43</LoyaltyReceipt>
    <LoyaltyServiceFee xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">30</LoyaltyServiceFee>
    <LoyaltyServiceFeeCollectionParameter xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 31</LoyaltyServiceFeeCollectionParameter>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 26</ModifiedBy>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">2024-11-27T19:43:38.9824945+03:00</ModifiedDate>
    <OrganizationID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">38</OrganizationID>
    <OverrideTreatmentofIssuerBINs xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 35</OverrideTreatmentofIssuerBINs>
    <PointsToCcyConvFact xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">23</PointsToCcyConvFact>
    <PointstoCcyThresholdAmount xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">37</PointstoCcyThresholdAmount>
    <PromotionDateFrom xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">2024-11-27T19:43:38.9824945+03:00</PromotionDateFrom>
    <PromotionDateFromDBStr xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 18</PromotionDateFromDBStr>
    <PromotionDateFromStr xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 19</PromotionDateFromStr>
    <PromotionDateTo xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">2024-11-27T19:43:38.9824945+03:00</PromotionDateTo>
    <PromotionDateToDBStr xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 21</PromotionDateToDBStr>
    <PromotionDateToStr xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 22</PromotionDateToStr>
    <PromotionDescription xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 14</PromotionDescription>
    <PromotionLogo xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 15</PromotionLogo>
    <PromotionName xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 13</PromotionName>
    <PromotionStatus xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 12</PromotionStatus>
    <PromotionTemplateID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 11</PromotionTemplateID>
    <PromotionTimeDimType xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 16</PromotionTimeDimType>
    <PromotionType xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 29</PromotionType>
    <RecOwnerOrgID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">28</RecOwnerOrgID>
    <SignupBonusPoints xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">41</SignupBonusPoints>
    <SpecialTreatmentforPartnerBank xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">sample string 33</SpecialTreatmentforPartnerBank>
    <YearlyRetentionBonus xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">42</YearlyRetentionBonus>
    <d2p1:Action>sample string 5</d2p1:Action>
    <d2p1:EndDate>2024-11-27T19:43:38.9824945+03:00</d2p1:EndDate>
    <d2p1:Logostring>sample string 10</d2p1:Logostring>
    <d2p1:PromotionConditions xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">
      <d3p1:CUS_PromotionTemplateConditions>
        <d3p1:Active>sample string 7</d3p1:Active>
        <d3p1:BonusEvent>sample string 2</d3p1:BonusEvent>
        <d3p1:BonusPoints>6</d3p1:BonusPoints>
        <d3p1:CreatedBy>sample string 8</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:ModifiedBy>sample string 10</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:MonitoringFrequency>sample string 5</d3p1:MonitoringFrequency>
        <d3p1:Operand>sample string 3</d3p1:Operand>
        <d3p1:ParameterValue>4</d3p1:ParameterValue>
        <d3p1:PromotionTemplateID>sample string 1</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>12</d3p1:RecOwnerOrgID>
      </d3p1:CUS_PromotionTemplateConditions>
      <d3p1:CUS_PromotionTemplateConditions>
        <d3p1:Active>sample string 7</d3p1:Active>
        <d3p1:BonusEvent>sample string 2</d3p1:BonusEvent>
        <d3p1:BonusPoints>6</d3p1:BonusPoints>
        <d3p1:CreatedBy>sample string 8</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:ModifiedBy>sample string 10</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:MonitoringFrequency>sample string 5</d3p1:MonitoringFrequency>
        <d3p1:Operand>sample string 3</d3p1:Operand>
        <d3p1:ParameterValue>4</d3p1:ParameterValue>
        <d3p1:PromotionTemplateID>sample string 1</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>12</d3p1:RecOwnerOrgID>
      </d3p1:CUS_PromotionTemplateConditions>
    </d2p1:PromotionConditions>
    <d2p1:PromotionIssuerBINS xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">
      <d3p1:CUS_PromotionTemplateIssuerBINS>
        <d3p1:BIN>sample string 2</d3p1:BIN>
        <d3p1:CreatedBy>sample string 3</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:ModifiedBy>sample string 5</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:PointsToCcyConvFact>1</d3p1:PointsToCcyConvFact>
        <d3p1:PromotionTemplateID>sample string 1</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>7</d3p1:RecOwnerOrgID>
      </d3p1:CUS_PromotionTemplateIssuerBINS>
      <d3p1:CUS_PromotionTemplateIssuerBINS>
        <d3p1:BIN>sample string 2</d3p1:BIN>
        <d3p1:CreatedBy>sample string 3</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:ModifiedBy>sample string 5</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:PointsToCcyConvFact>1</d3p1:PointsToCcyConvFact>
        <d3p1:PromotionTemplateID>sample string 1</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>7</d3p1:RecOwnerOrgID>
      </d3p1:CUS_PromotionTemplateIssuerBINS>
    </d2p1:PromotionIssuerBINS>
    <d2p1:PromotionPartners xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">
      <d3p1:CUS_PromotionTemplatePartners>
        <d3p1:CreatedBy>sample string 4</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:ModifiedBy>sample string 6</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:PartnerID>2</d3p1:PartnerID>
        <d3p1:PointsToCcyConvFact>3</d3p1:PointsToCcyConvFact>
        <d3p1:PromotionTemplateID>sample string 1</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>8</d3p1:RecOwnerOrgID>
      </d3p1:CUS_PromotionTemplatePartners>
      <d3p1:CUS_PromotionTemplatePartners>
        <d3p1:CreatedBy>sample string 4</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:ModifiedBy>sample string 6</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:PartnerID>2</d3p1:PartnerID>
        <d3p1:PointsToCcyConvFact>3</d3p1:PointsToCcyConvFact>
        <d3p1:PromotionTemplateID>sample string 1</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>8</d3p1:RecOwnerOrgID>
      </d3p1:CUS_PromotionTemplatePartners>
    </d2p1:PromotionPartners>
    <d2p1:Remarks>sample string 2</d2p1:Remarks>
    <d2p1:RemarksHistory>sample string 6</d2p1:RemarksHistory>
    <d2p1:Slabs xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.CUS">
      <d3p1:CUS_PromotionTemplateSlabs>
        <d3p1:Active>sample string 6</d3p1:Active>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:LoyaltyCeiling>1</d3p1:LoyaltyCeiling>
        <d3p1:LoyaltyFloor>5</d3p1:LoyaltyFloor>
        <d3p1:LoyaltyPntMul>4</d3p1:LoyaltyPntMul>
        <d3p1:ModifiedBy>sample string 9</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:PromotionTemplateID>sample string 2</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>11</d3p1:RecOwnerOrgID>
        <d3p1:SlabTemplateID>1</d3p1:SlabTemplateID>
        <d3p1:SpentFrom>3</d3p1:SpentFrom>
        <d3p1:SpentTo>1</d3p1:SpentTo>
      </d3p1:CUS_PromotionTemplateSlabs>
      <d3p1:CUS_PromotionTemplateSlabs>
        <d3p1:Active>sample string 6</d3p1:Active>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:CreatedDate>
        <d3p1:LoyaltyCeiling>1</d3p1:LoyaltyCeiling>
        <d3p1:LoyaltyFloor>5</d3p1:LoyaltyFloor>
        <d3p1:LoyaltyPntMul>4</d3p1:LoyaltyPntMul>
        <d3p1:ModifiedBy>sample string 9</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-27T19:43:38.9824945+03:00</d3p1:ModifiedDate>
        <d3p1:PromotionTemplateID>sample string 2</d3p1:PromotionTemplateID>
        <d3p1:RecOwnerOrgID>11</d3p1:RecOwnerOrgID>
        <d3p1:SlabTemplateID>1</d3p1:SlabTemplateID>
        <d3p1:SpentFrom>3</d3p1:SpentFrom>
        <d3p1:SpentTo>1</d3p1:SpentTo>
      </d3p1:CUS_PromotionTemplateSlabs>
    </d2p1:Slabs>
    <d2p1:StartDate>2024-11-27T19:43:38.9824945+03:00</d2p1:StartDate>
    <d2p1:Status>sample string 1</d2p1:Status>
    <d2p1:ToRole>sample string 4</d2p1:ToRole>
    <d2p1:ToUser>sample string 3</d2p1:ToUser>
    <d2p1:WorkflowID>sample string 7</d2p1:WorkflowID>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfPromotionTemplateDetailsPayloadcp3c2scg>