GET api/Payment/CheckOffer?offid={offid}&cid={cid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
offid | string |
Required |
|
cid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Payvalidateoffer_ResultName | Description | Type | Additional 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:
<ArrayOfPayvalidateoffer_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechcanvassWebApi"> <Payvalidateoffer_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> </Payvalidateoffer_Result> <Payvalidateoffer_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> </Payvalidateoffer_Result> </ArrayOfPayvalidateoffer_Result>