GET api/WebApiOdata/GetAllGiftCardImformatonbyProviderId?providerID={providerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GiftCardReportViewModelName | Description | Type | Additional information |
---|---|---|---|
GiftCardCode | string |
None. |
|
ShopperName | string |
None. |
|
UserName | string |
None. |
|
UsedAmount | decimal number |
None. |
|
UsedDate | string |
None. |
|
OrderNumber | integer |
None. |
|
GiftCardStatus | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "GiftCardCode": "sample string 1", "ShopperName": "sample string 2", "UserName": "sample string 3", "UsedAmount": 4.0, "UsedDate": "sample string 5", "OrderNumber": 6, "GiftCardStatus": "sample string 7" }, { "GiftCardCode": "sample string 1", "ShopperName": "sample string 2", "UserName": "sample string 3", "UsedAmount": 4.0, "UsedDate": "sample string 5", "OrderNumber": 6, "GiftCardStatus": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfGiftCardReportViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Reports"> <GiftCardReportViewModel> <GiftCardCode>sample string 1</GiftCardCode> <GiftCardStatus>sample string 7</GiftCardStatus> <OrderNumber>6</OrderNumber> <ShopperName>sample string 2</ShopperName> <UsedAmount>4</UsedAmount> <UsedDate>sample string 5</UsedDate> <UserName>sample string 3</UserName> </GiftCardReportViewModel> <GiftCardReportViewModel> <GiftCardCode>sample string 1</GiftCardCode> <GiftCardStatus>sample string 7</GiftCardStatus> <OrderNumber>6</OrderNumber> <ShopperName>sample string 2</ShopperName> <UsedAmount>4</UsedAmount> <UsedDate>sample string 5</UsedDate> <UserName>sample string 3</UserName> </GiftCardReportViewModel> </ArrayOfGiftCardReportViewModel>