POST api/MerchantApp/GetMerChantOffers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MethodReturnOfListOfOFR_OffersFromOEName | Description | Type | Additional information |
---|---|---|---|
ReturnValue | Collection of OFR_OffersFromOE |
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:04:23.0317568+03:00", "ToDate": "2024-11-27T20:04:23.0317568+03:00", "Logo": "sample string 5", "MerchantName": "sample string 6", "MerchantCode": "sample string 7", "Description": "sample string 8", "Category": "sample string 9", "OfferType": "sample string 10", "OfferSubType": "sample string 11", "OfferDiscount": 12.0, "BuyNumber": 13, "GetFreeNumber": 14, "VoucherCode": "sample string 15", "Eligibility": "sample string 16", "TnC": "sample string 17", "CreatedBy": "sample string 18", "CreatedDate": "2024-11-27T20:04:23.0317568+03:00", "ModifiedBy": "sample string 20", "ModifiedDate": "2024-11-27T20:04:23.0317568+03:00", "RecOwnerOrgID": 22 }, { "OfferCode": "sample string 1", "OfferStatus": "sample string 2", "FromDate": "2024-11-27T20:04:23.0317568+03:00", "ToDate": "2024-11-27T20:04:23.0317568+03:00", "Logo": "sample string 5", "MerchantName": "sample string 6", "MerchantCode": "sample string 7", "Description": "sample string 8", "Category": "sample string 9", "OfferType": "sample string 10", "OfferSubType": "sample string 11", "OfferDiscount": 12.0, "BuyNumber": 13, "GetFreeNumber": 14, "VoucherCode": "sample string 15", "Eligibility": "sample string 16", "TnC": "sample string 17", "CreatedBy": "sample string 18", "CreatedDate": "2024-11-27T20:04:23.0317568+03:00", "ModifiedBy": "sample string 20", "ModifiedDate": "2024-11-27T20:04:23.0317568+03:00", "RecOwnerOrgID": 22 } ], "ReturnType": "sample string 1", "IsSuccess": true, "Message": "sample string 3", "Schema": "sample string 4", "UTCDate": "2024-11-27T20:04:23.0317568+03:00", "Token": "sample string 6", "ResponseCode": "sample string 7" }
application/xml, text/xml
Sample:
<MethodReturnOfArrayOfOFR_OffersFromOElcDBNmg5 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.Modules.OFR"> <d2p1:OFR_OffersFromOE> <d2p1:BuyNumber>13</d2p1:BuyNumber> <d2p1:Category>sample string 9</d2p1:Category> <d2p1:CreatedBy>sample string 18</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-27T20:04:23.0317568+03:00</d2p1:CreatedDate> <d2p1:Description>sample string 8</d2p1:Description> <d2p1:Eligibility>sample string 16</d2p1:Eligibility> <d2p1:FromDate>2024-11-27T20:04:23.0317568+03:00</d2p1:FromDate> <d2p1:GetFreeNumber>14</d2p1:GetFreeNumber> <d2p1:Logo>sample string 5</d2p1:Logo> <d2p1:MerchantCode>sample string 7</d2p1:MerchantCode> <d2p1:MerchantName>sample string 6</d2p1:MerchantName> <d2p1:ModifiedBy>sample string 20</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-27T20:04:23.0317568+03:00</d2p1:ModifiedDate> <d2p1:OfferCode>sample string 1</d2p1:OfferCode> <d2p1:OfferDiscount>12</d2p1:OfferDiscount> <d2p1:OfferStatus>sample string 2</d2p1:OfferStatus> <d2p1:OfferSubType>sample string 11</d2p1:OfferSubType> <d2p1:OfferType>sample string 10</d2p1:OfferType> <d2p1:RecOwnerOrgID>22</d2p1:RecOwnerOrgID> <d2p1:TnC>sample string 17</d2p1:TnC> <d2p1:ToDate>2024-11-27T20:04:23.0317568+03:00</d2p1:ToDate> <d2p1:VoucherCode>sample string 15</d2p1:VoucherCode> </d2p1:OFR_OffersFromOE> <d2p1:OFR_OffersFromOE> <d2p1:BuyNumber>13</d2p1:BuyNumber> <d2p1:Category>sample string 9</d2p1:Category> <d2p1:CreatedBy>sample string 18</d2p1:CreatedBy> <d2p1:CreatedDate>2024-11-27T20:04:23.0317568+03:00</d2p1:CreatedDate> <d2p1:Description>sample string 8</d2p1:Description> <d2p1:Eligibility>sample string 16</d2p1:Eligibility> <d2p1:FromDate>2024-11-27T20:04:23.0317568+03:00</d2p1:FromDate> <d2p1:GetFreeNumber>14</d2p1:GetFreeNumber> <d2p1:Logo>sample string 5</d2p1:Logo> <d2p1:MerchantCode>sample string 7</d2p1:MerchantCode> <d2p1:MerchantName>sample string 6</d2p1:MerchantName> <d2p1:ModifiedBy>sample string 20</d2p1:ModifiedBy> <d2p1:ModifiedDate>2024-11-27T20:04:23.0317568+03:00</d2p1:ModifiedDate> <d2p1:OfferCode>sample string 1</d2p1:OfferCode> <d2p1:OfferDiscount>12</d2p1:OfferDiscount> <d2p1:OfferStatus>sample string 2</d2p1:OfferStatus> <d2p1:OfferSubType>sample string 11</d2p1:OfferSubType> <d2p1:OfferType>sample string 10</d2p1:OfferType> <d2p1:RecOwnerOrgID>22</d2p1:RecOwnerOrgID> <d2p1:TnC>sample string 17</d2p1:TnC> <d2p1:ToDate>2024-11-27T20:04:23.0317568+03:00</d2p1:ToDate> <d2p1:VoucherCode>sample string 15</d2p1:VoucherCode> </d2p1:OFR_OffersFromOE> </ReturnValue> <Schema>sample string 4</Schema> <Token>sample string 6</Token> </MethodReturnOfArrayOfOFR_OffersFromOElcDBNmg5>