POST api/VAS/GetAllActiveOffers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
MethodReturnOfListOfOrgOfferResponseName | Description | Type | Additional information |
---|---|---|---|
ReturnValue | Collection of OrgOfferResponse |
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", "MerchantCode": "sample string 2", "MerchantName": "sample string 3", "FromDate": "2024-11-28T14:48:02.4512055+03:00", "ToDate": "2024-11-28T14:48:02.4512055+03:00", "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", "BINValues": [ { "BIN": "sample string 1", "ConsumerValue": 2.0 }, { "BIN": "sample string 1", "ConsumerValue": 2.0 } ], "ProductValues": [ { "ProductCode": "sample string 1", "ConsumerValue": 2.0 }, { "ProductCode": "sample string 1", "ConsumerValue": 2.0 } ], "DatesOfMonth": [ 1, 2 ], "DaysOfWeek": [ "sample string 1", "sample string 2" ], "TnC": "sample string 13", "OfferLogo": "sample string 14", "MerchantLogo": "sample string 15", "MallID": 16, "MallCode": "sample string 17", "MallName": "sample string 18" }, { "OfferCode": "sample string 1", "MerchantCode": "sample string 2", "MerchantName": "sample string 3", "FromDate": "2024-11-28T14:48:02.4512055+03:00", "ToDate": "2024-11-28T14:48:02.4512055+03:00", "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", "BINValues": [ { "BIN": "sample string 1", "ConsumerValue": 2.0 }, { "BIN": "sample string 1", "ConsumerValue": 2.0 } ], "ProductValues": [ { "ProductCode": "sample string 1", "ConsumerValue": 2.0 }, { "ProductCode": "sample string 1", "ConsumerValue": 2.0 } ], "DatesOfMonth": [ 1, 2 ], "DaysOfWeek": [ "sample string 1", "sample string 2" ], "TnC": "sample string 13", "OfferLogo": "sample string 14", "MerchantLogo": "sample string 15", "MallID": 16, "MallCode": "sample string 17", "MallName": "sample string 18" } ], "ReturnType": "sample string 1", "IsSuccess": true, "Message": "sample string 3", "Schema": "sample string 4", "UTCDate": "2024-11-28T14:48:02.4512055+03:00", "Token": "sample string 6", "ResponseCode": "sample string 7" }
application/xml, text/xml
Sample:
<MethodReturnOfArrayOfOrgOfferResponseYoRYJ0fS 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:OrgOfferResponse> <d2p1:BINValues> <d2p1:OfferBinValue> <d2p1:BIN>sample string 1</d2p1:BIN> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> </d2p1:OfferBinValue> <d2p1:OfferBinValue> <d2p1:BIN>sample string 1</d2p1:BIN> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> </d2p1:OfferBinValue> </d2p1:BINValues> <d2p1:Category>sample string 8</d2p1:Category> <d2p1:DatesOfMonth xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:DatesOfMonth> <d2p1:DaysOfWeek xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:DaysOfWeek> <d2p1:Description>sample string 6</d2p1:Description> <d2p1:Eligibility>sample string 12</d2p1:Eligibility> <d2p1:FromDate>2024-11-28T14:48:02.4512055+03:00</d2p1:FromDate> <d2p1:MallCode>sample string 17</d2p1:MallCode> <d2p1:MallID>16</d2p1:MallID> <d2p1:MallName>sample string 18</d2p1:MallName> <d2p1:MerchantCode>sample string 2</d2p1:MerchantCode> <d2p1:MerchantLogo>sample string 15</d2p1:MerchantLogo> <d2p1:MerchantName>sample string 3</d2p1:MerchantName> <d2p1:OfferCategory>sample string 7</d2p1:OfferCategory> <d2p1:OfferCode>sample string 1</d2p1:OfferCode> <d2p1:OfferLogo>sample string 14</d2p1:OfferLogo> <d2p1:ProductValues> <d2p1:OfferProductValue> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> </d2p1:OfferProductValue> <d2p1:OfferProductValue> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> </d2p1:OfferProductValue> </d2p1:ProductValues> <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-28T14:48:02.4512055+03:00</d2p1:ToDate> <d2p1:Type>sample string 10</d2p1:Type> </d2p1:OrgOfferResponse> <d2p1:OrgOfferResponse> <d2p1:BINValues> <d2p1:OfferBinValue> <d2p1:BIN>sample string 1</d2p1:BIN> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> </d2p1:OfferBinValue> <d2p1:OfferBinValue> <d2p1:BIN>sample string 1</d2p1:BIN> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> </d2p1:OfferBinValue> </d2p1:BINValues> <d2p1:Category>sample string 8</d2p1:Category> <d2p1:DatesOfMonth xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:DatesOfMonth> <d2p1:DaysOfWeek xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:DaysOfWeek> <d2p1:Description>sample string 6</d2p1:Description> <d2p1:Eligibility>sample string 12</d2p1:Eligibility> <d2p1:FromDate>2024-11-28T14:48:02.4512055+03:00</d2p1:FromDate> <d2p1:MallCode>sample string 17</d2p1:MallCode> <d2p1:MallID>16</d2p1:MallID> <d2p1:MallName>sample string 18</d2p1:MallName> <d2p1:MerchantCode>sample string 2</d2p1:MerchantCode> <d2p1:MerchantLogo>sample string 15</d2p1:MerchantLogo> <d2p1:MerchantName>sample string 3</d2p1:MerchantName> <d2p1:OfferCategory>sample string 7</d2p1:OfferCategory> <d2p1:OfferCode>sample string 1</d2p1:OfferCode> <d2p1:OfferLogo>sample string 14</d2p1:OfferLogo> <d2p1:ProductValues> <d2p1:OfferProductValue> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> </d2p1:OfferProductValue> <d2p1:OfferProductValue> <d2p1:ConsumerValue>2</d2p1:ConsumerValue> <d2p1:ProductCode>sample string 1</d2p1:ProductCode> </d2p1:OfferProductValue> </d2p1:ProductValues> <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-28T14:48:02.4512055+03:00</d2p1:ToDate> <d2p1:Type>sample string 10</d2p1:Type> </d2p1:OrgOfferResponse> </ReturnValue> <Schema>sample string 4</Schema> <Token>sample string 6</Token> </MethodReturnOfArrayOfOrgOfferResponseYoRYJ0fS>