POST api/Partner/GetPartnerPromoCode

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
aPartner
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "PartnerId": 1,
  "PromoCode": "sample string 2",
  "DiscountType": "sample string 3",
  "DiscountMode": "sample string 4",
  "Discount": 5,
  "MaxDiscount": 6,
  "ApplicableSection": "sample string 7",
  "PlanId": 8,
  "PlanName": "sample string 9",
  "LevelId": 10,
  "LevelName": "sample string 11",
  "StartDate": "sample string 12",
  "EndDate": "sample string 13",
  "NoOfUsage": 14,
  "Description": "sample string 15",
  "PromoImageName": "sample string 16",
  "PromoImagePath": "sample string 17",
  "TandCPath": "sample string 18",
  "CreatedAt": "sample string 19",
  "UpdatedAt": "sample string 20",
  "IsActive": 21
}

text/html

Sample:
{"PartnerId":1,"PromoCode":"sample string 2","DiscountType":"sample string 3","DiscountMode":"sample string 4","Discount":5,"MaxDiscount":6,"ApplicableSection":"sample string 7","PlanId":8,"PlanName":"sample string 9","LevelId":10,"LevelName":"sample string 11","StartDate":"sample string 12","EndDate":"sample string 13","NoOfUsage":14,"Description":"sample string 15","PromoImageName":"sample string 16","PromoImagePath":"sample string 17","TandCPath":"sample string 18","CreatedAt":"sample string 19","UpdatedAt":"sample string 20","IsActive":21}

application/xml, text/xml

Sample:
<PartnerPromoBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeyondCodes.BO">
  <ApplicableSection>sample string 7</ApplicableSection>
  <CreatedAt>sample string 19</CreatedAt>
  <Description>sample string 15</Description>
  <Discount>5</Discount>
  <DiscountMode>sample string 4</DiscountMode>
  <DiscountType>sample string 3</DiscountType>
  <EndDate>sample string 13</EndDate>
  <IsActive>21</IsActive>
  <LevelId>10</LevelId>
  <LevelName>sample string 11</LevelName>
  <MaxDiscount>6</MaxDiscount>
  <NoOfUsage>14</NoOfUsage>
  <PartnerId>1</PartnerId>
  <PlanId>8</PlanId>
  <PlanName>sample string 9</PlanName>
  <PromoCode>sample string 2</PromoCode>
  <PromoImageName>sample string 16</PromoImageName>
  <PromoImagePath>sample string 17</PromoImagePath>
  <StartDate>sample string 12</StartDate>
  <TandCPath>sample string 18</TandCPath>
  <UpdatedAt>sample string 20</UpdatedAt>
</PartnerPromoBO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "ResponseValue": {}
}

text/html

Sample:
{"ResponseCode":1,"ResponseMessage":"sample string 2","ResponseValue":{}}

application/xml, text/xml

Sample:
<DataSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeyondCodes.BO">
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponseValue />
</DataSubmit>