GET api/giftcardtype
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of GiftCardTypeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
Required |
|
ImageUrl | string |
None. |
|
OrderIndex | integer |
None. |
|
Active | boolean |
None. |
|
IsPublic | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "ImageUrl": "sample string 3", "OrderIndex": 4, "Active": true, "IsPublic": true }, { "ID": 1, "Name": "sample string 2", "ImageUrl": "sample string 3", "OrderIndex": 4, "Active": true, "IsPublic": true } ]
application/xml, text/xml
Sample:
<ArrayOfGiftCardType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cag.Data.Commerce"> <GiftCardType> <Active>true</Active> <ID>1</ID> <ImageUrl>sample string 3</ImageUrl> <IsPublic>true</IsPublic> <Name>sample string 2</Name> <OrderIndex>4</OrderIndex> </GiftCardType> <GiftCardType> <Active>true</Active> <ID>1</ID> <ImageUrl>sample string 3</ImageUrl> <IsPublic>true</IsPublic> <Name>sample string 2</Name> <OrderIndex>4</OrderIndex> </GiftCardType> </ArrayOfGiftCardType>