POST api/PackageInfo/GetWatchoCoupons
Request Information
URI Parameters
None.
Body Parameters
WatchoCouponDtoName | Description | Type | Additional information |
---|---|---|---|
SMSID | integer |
None. |
|
RechargeAmt | decimal number |
None. |
|
FMR | decimal number |
None. |
|
Brand | byte |
None. |
|
VCNO | string |
None. |
|
ChequeNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SMSID": 1, "RechargeAmt": 2.0, "FMR": 3.0, "Brand": 64, "VCNO": "sample string 5", "ChequeNo": "sample string 6" }
application/xml, text/xml
Sample:
<WatchoCouponDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Watcho"> <Brand>64</Brand> <ChequeNo>sample string 6</ChequeNo> <FMR>3</FMR> <RechargeAmt>2</RechargeAmt> <SMSID>1</SMSID> <VCNO>sample string 5</VCNO> </WatchoCouponDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultInfoOfWatchoSingleCouponName | Description | Type | Additional information |
---|---|---|---|
AccessToken | string |
None. |
|
TokenType | string |
None. |
|
ResultType | TypeOfResult |
None. |
|
ResultCode | integer |
None. |
|
ResultDesc | string |
None. |
|
Result | WatchoSingleCoupon |
None. |
|
ErrCode | integer |
None. |
|
ErrDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "AccessToken": "sample string 1", "TokenType": "sample string 2", "ResultType": 0, "ResultCode": 3, "ResultDesc": "sample string 4", "Result": { "CouponCode": "sample string 1", "OfferDescription": "sample string 2", "CouponValue": 3.0, "PacksApplicable": "sample string 4", "OfferTypeFlag": 5, "ValidUpto": "sample string 6", "OfferFlag": 64, "DiscountDays": 8, "SchemeId": 9 }, "ErrCode": 5, "ErrDesc": "sample string 6" }
application/xml, text/xml
Sample:
<ResultInfoOfWatchoSingleCoupon4UUra_PjP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common"> <AccessToken>sample string 1</AccessToken> <ErrCode>5</ErrCode> <ErrDesc>sample string 6</ErrDesc> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Watcho"> <d2p1:CouponCode>sample string 1</d2p1:CouponCode> <d2p1:CouponValue>3</d2p1:CouponValue> <d2p1:DiscountDays>8</d2p1:DiscountDays> <d2p1:OfferDescription>sample string 2</d2p1:OfferDescription> <d2p1:OfferFlag>64</d2p1:OfferFlag> <d2p1:OfferTypeFlag>5</d2p1:OfferTypeFlag> <d2p1:PacksApplicable>sample string 4</d2p1:PacksApplicable> <d2p1:SchemeId>9</d2p1:SchemeId> <d2p1:ValidUpto>sample string 6</d2p1:ValidUpto> </Result> <ResultCode>3</ResultCode> <ResultDesc>sample string 4</ResultDesc> <ResultType>Success</ResultType> <TokenType>sample string 2</TokenType> </ResultInfoOfWatchoSingleCoupon4UUra_PjP>