GET api/{area}/Card/GetCardInfo/{id}
贺卡详情
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| area | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CardInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CardName | string |
None. |
|
| MusicPath | string |
None. |
|
| Wishes | string |
None. |
|
| BackgroundImg | string |
None. |
|
| SecondImg | string |
None. |
|
| WisheW | string |
None. |
|
| WisheH | string |
None. |
|
| WisheX | string |
None. |
|
| WisheY | string |
None. |
|
| CardTypeID | integer |
None. |
|
| FontSize | string |
None. |
|
| FontColor | string |
None. |
|
| LineH | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CardName": "sample string 1",
"MusicPath": "sample string 2",
"Wishes": "sample string 3",
"BackgroundImg": "sample string 4",
"SecondImg": "sample string 5",
"WisheW": "sample string 6",
"WisheH": "sample string 7",
"WisheX": "sample string 8",
"WisheY": "sample string 9",
"CardTypeID": 10,
"FontSize": "sample string 11",
"FontColor": "sample string 12",
"LineH": "sample string 13"
}
application/xml, text/xml
Sample:
<CardController.CardInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.GreetingCard.Controllers"> <BackgroundImg>sample string 4</BackgroundImg> <CardName>sample string 1</CardName> <CardTypeID>10</CardTypeID> <FontColor>sample string 12</FontColor> <FontSize>sample string 11</FontSize> <LineH>sample string 13</LineH> <MusicPath>sample string 2</MusicPath> <SecondImg>sample string 5</SecondImg> <WisheH>sample string 7</WisheH> <WisheW>sample string 6</WisheW> <WisheX>sample string 8</WisheX> <WisheY>sample string 9</WisheY> <Wishes>sample string 3</Wishes> </CardController.CardInfo>