POST api/Lottery/PostLotteryState

Request Information

URI Parameters

None.

Body Parameters

LotteryState
NameDescriptionTypeAdditional information
AwardId

string

None.

ParticipantId

integer

None.

State

integer

None.

ReceiveTime

date

None.

Year

string

None.

Number

integer

None.

TurnId

integer

None.

Award

Award

None.

Participation

Participation

None.

Request Formats

application/json, text/json

Sample:
{
  "AwardId": "sample string 1",
  "ParticipantId": 2,
  "State": 3,
  "ReceiveTime": "2025-05-24T19:10:05.9728315+08:00",
  "Year": "sample string 4",
  "Number": 5,
  "TurnId": 1,
  "Award": {
    "Id": "sample string 1",
    "Year": "sample string 2",
    "Name": "sample string 3",
    "Level": 4,
    "Amount": 5,
    "ImgSrc": "sample string 6",
    "Value": "sample string 7",
    "LevelDesc": "sample string 8",
    "LotteryStates": [],
    "Turns": [
      {
        "Id": 1,
        "Year": "sample string 2",
        "AwardId": "sample string 3",
        "Amount": 4,
        "Valid": true,
        "RoundId": 1,
        "Round": {
          "Id": 1,
          "Year": "sample string 2",
          "Valid": true,
          "Anniversary": {
            "Year": "sample string 1",
            "IsValid": true,
            "Rounds": []
          },
          "Turns": []
        }
      },
      {
        "Id": 1,
        "Year": "sample string 2",
        "AwardId": "sample string 3",
        "Amount": 4,
        "Valid": true,
        "RoundId": 1,
        "Round": {
          "Id": 1,
          "Year": "sample string 2",
          "Valid": true,
          "Anniversary": {
            "Year": "sample string 1",
            "IsValid": true,
            "Rounds": []
          },
          "Turns": []
        }
      }
    ]
  },
  "Participation": {
    "Id": 1,
    "Year": "sample string 2",
    "LogTime": "2025-05-24T19:10:05.9778365+08:00",
    "Name": "sample string 3",
    "Phone": "sample string 4",
    "Img": "sample string 5",
    "Type": 6,
    "Vxid": "sample string 7",
    "BlackBoxes": [
      {
        "Id": 1,
        "Year": "sample string 2",
        "ParticipantId": 3,
        "TargetLevel": 4,
        "AwardId": "sample string 5",
        "IsBan": true,
        "Number": 1
      },
      {
        "Id": 1,
        "Year": "sample string 2",
        "ParticipantId": 3,
        "TargetLevel": 4,
        "AwardId": "sample string 5",
        "IsBan": true,
        "Number": 1
      }
    ],
    "LotteryStates": []
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.