POST api/FWLyraMerchant/VerifyConsumerOfferCode
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MethodReturnOfAppOfferResponseName | Description | Type | Additional information |
---|---|---|---|
ReturnValue | AppOfferResponse |
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": { "OfferCode": "sample string 1", "OfferStatus": "sample string 2", "FromDate": "2024-11-27T20:03:58.1714367+03:00", "ToDate": "2024-11-27T20:03:58.1714367+03:00", "Logo": "sample string 5", "Description": "sample string 6", "OfferCategory": "sample string 7", "Category": "sample string 8", "SubCategory": "sample string 9", "Type": "sample string 10", "SubType": "sample string 11", "Eligibility": "sample string 12", "TnC": "sample string 13", "MerchantID": 14, "MerchantName": "sample string 15", "MerchantCode": "sample string 16", "OfferDiscount": 1.0, "BuyNumber": 1, "GetFreeNumber": 1, "VoucherCode": "sample string 17" }, "ReturnType": "sample string 1", "IsSuccess": true, "Message": "sample string 3", "Schema": "sample string 4", "UTCDate": "2024-11-27T20:03:58.1714367+03:00", "Token": "sample string 6", "ResponseCode": "sample string 7" }
application/xml, text/xml
Sample:
<MethodReturnOfAppOfferResponseYoRYJ0fS 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.Responses.VAS"> <d2p1:BuyNumber>1</d2p1:BuyNumber> <d2p1:Category>sample string 8</d2p1:Category> <d2p1:Description>sample string 6</d2p1:Description> <d2p1:Eligibility>sample string 12</d2p1:Eligibility> <d2p1:FromDate>2024-11-27T20:03:58.1714367+03:00</d2p1:FromDate> <d2p1:GetFreeNumber>1</d2p1:GetFreeNumber> <d2p1:Logo>sample string 5</d2p1:Logo> <d2p1:MerchantCode>sample string 16</d2p1:MerchantCode> <d2p1:MerchantID>14</d2p1:MerchantID> <d2p1:MerchantName>sample string 15</d2p1:MerchantName> <d2p1:OfferCategory>sample string 7</d2p1:OfferCategory> <d2p1:OfferCode>sample string 1</d2p1:OfferCode> <d2p1:OfferDiscount>1</d2p1:OfferDiscount> <d2p1:OfferStatus>sample string 2</d2p1:OfferStatus> <d2p1:SubCategory>sample string 9</d2p1:SubCategory> <d2p1:SubType>sample string 11</d2p1:SubType> <d2p1:TnC>sample string 13</d2p1:TnC> <d2p1:ToDate>2024-11-27T20:03:58.1714367+03:00</d2p1:ToDate> <d2p1:Type>sample string 10</d2p1:Type> <d2p1:VoucherCode>sample string 17</d2p1:VoucherCode> </ReturnValue> <Schema>sample string 4</Schema> <Token>sample string 6</Token> </MethodReturnOfAppOfferResponseYoRYJ0fS>