GET api/Payment/GetOffer?cid={cid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PayGetoffer_Result
NameDescriptionTypeAdditional information
id

integer

None.

offerid

string

None.

OfferCode

string

None.

Courseid

integer

None.

OfferText

string

None.

Remark

string

None.

ValidDate

string

None.

Discount

string

None.

Amount

string

None.

Usdamount

string

None.

Type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "offerid": "sample string 2",
    "OfferCode": "sample string 3",
    "Courseid": 1,
    "OfferText": "sample string 4",
    "Remark": "sample string 5",
    "ValidDate": "sample string 6",
    "Discount": "sample string 7",
    "Amount": "sample string 8",
    "Usdamount": "sample string 9",
    "Type": "sample string 10"
  },
  {
    "id": 1,
    "offerid": "sample string 2",
    "OfferCode": "sample string 3",
    "Courseid": 1,
    "OfferText": "sample string 4",
    "Remark": "sample string 5",
    "ValidDate": "sample string 6",
    "Discount": "sample string 7",
    "Amount": "sample string 8",
    "Usdamount": "sample string 9",
    "Type": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPayGetoffer_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechcanvassWebApi">
  <PayGetoffer_Result>
    <Amount>sample string 8</Amount>
    <Courseid>1</Courseid>
    <Discount>sample string 7</Discount>
    <OfferCode>sample string 3</OfferCode>
    <OfferText>sample string 4</OfferText>
    <Remark>sample string 5</Remark>
    <Type>sample string 10</Type>
    <Usdamount>sample string 9</Usdamount>
    <ValidDate>sample string 6</ValidDate>
    <id>1</id>
    <offerid>sample string 2</offerid>
  </PayGetoffer_Result>
  <PayGetoffer_Result>
    <Amount>sample string 8</Amount>
    <Courseid>1</Courseid>
    <Discount>sample string 7</Discount>
    <OfferCode>sample string 3</OfferCode>
    <OfferText>sample string 4</OfferText>
    <Remark>sample string 5</Remark>
    <Type>sample string 10</Type>
    <Usdamount>sample string 9</Usdamount>
    <ValidDate>sample string 6</ValidDate>
    <id>1</id>
    <offerid>sample string 2</offerid>
  </PayGetoffer_Result>
</ArrayOfPayGetoffer_Result>