POST api/LotteryTask/AddLotteryTask?openId={openId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
openId

string

Required

Body Parameters

LotteryTask
NameDescriptionTypeAdditional information
id

integer

None.

title

string

None.

timeBegin

date

None.

timeEnd

date

None.

status

byte

None.

userSystemUid

integer

None.

userSystemAvartar

string

None.

userSystemNickName

string

None.

createTime

date

None.

timeBeginEntry

date

None.

timeEndEntry

date

None.

statusLottery

byte

None.

numBegin

integer

None.

numEnd

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "title": "sample string 2",
  "timeBegin": "2023-04-01T11:33:05.0475001+08:00",
  "timeEnd": "2023-04-01T11:33:05.0484767+08:00",
  "status": 64,
  "userSystemUid": 6,
  "userSystemAvartar": "sample string 7",
  "userSystemNickName": "sample string 8",
  "createTime": "2023-04-01T11:33:05.0484767+08:00",
  "timeBeginEntry": "2023-04-01T11:33:05.0484767+08:00",
  "timeEndEntry": "2023-04-01T11:33:05.0484767+08:00",
  "statusLottery": 64,
  "numBegin": 13,
  "numEnd": 14
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Res_code

ResCode

None.

Message

string

None.

Error_code

ErrorCode

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Res_code": 0,
  "Message": "sample string 1",
  "Error_code": 10001,
  "Data": {},
  "Count": 3
}