POST api/Lottery/CardAdd

Request Information

URI Parameters

None.

Body Parameters

CardReward
NameDescriptionTypeAdditional information
version

string

None.

userid

string

None.

userpwd

string

None.

ordernumber

string

None.

rewardidlist

Object

None.

mobile

string

None.

storeid

string

None.

activityid

string

None.

cardcode

string

None.

randomred

string

None.

fixedred

string

None.

sign

string

None.

Request Formats

application/json, text/json

Sample:
{
  "version": "sample string 1",
  "userid": "sample string 2",
  "userpwd": "sample string 3",
  "ordernumber": "sample string 4",
  "rewardidlist": {},
  "mobile": "sample string 6",
  "storeid": "sample string 7",
  "activityid": "sample string 8",
  "cardcode": "sample string 9",
  "randomred": "sample string 10",
  "fixedred": "sample string 11",
  "sign": "sample string 12"
}

application/xml, text/xml

Sample:
<CardReward xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGMAPI.Models">
  <activityid>sample string 8</activityid>
  <cardcode>sample string 9</cardcode>
  <fixedred>sample string 11</fixedred>
  <mobile>sample string 6</mobile>
  <ordernumber>sample string 4</ordernumber>
  <randomred>sample string 10</randomred>
  <rewardidlist />
  <sign>sample string 12</sign>
  <storeid>sample string 7</storeid>
  <userid>sample string 2</userid>
  <userpwd>sample string 3</userpwd>
  <version>sample string 1</version>
</CardReward>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.