POST v1/gamerecords

上传游戏记录,并关联游戏记录与模式的

Request Information

URI Parameters

None.

Body Parameters

GameRecordInput
NameDescriptionTypeAdditional information
StartTime

date

None.

EndTime

date

None.

PersonId

integer

None.

GameType

integer

None.

Score

integer

None.

Describe

string

None.

Filename

string

None.

IsUpload

integer

None.

UploadTime

date

None.

GardenId

integer

None.

GradeNum

integer

None.

ClassId

integer

None.

ClassName

string

None.

Status

integer

None.

SenderId

integer

None.

SendTime

date

None.

Comment

string

None.

Extend

string

None.

Recordtypeid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "startTime": "2025-02-28 18:17:33",
  "endTime": "2025-02-28 18:17:33",
  "personId": 1,
  "gameType": 2,
  "score": 3,
  "describe": "sample string 4",
  "filename": "sample string 5",
  "isUpload": 6,
  "uploadTime": "2025-02-28 18:17:33",
  "gardenId": 7,
  "gradeNum": 8,
  "classId": 9,
  "className": "sample string 10",
  "status": 11,
  "senderId": 12,
  "sendTime": "2025-02-28 18:17:33",
  "comment": "sample string 13",
  "extend": "sample string 14",
  "recordtypeid": 15
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GamerecordModel
NameDescriptionTypeAdditional information
Id

integer

None.

Personid

integer

None.

Starttime

date

None.

Endtime

date

None.

Gametype

integer

None.

Score

integer

None.

Describe

string

None.

Filename

string

None.

Isupload

boolean

None.

Uploadtime

date

None.

GardenId

integer

None.

ClassId

integer

None.

Status

integer

None.

SenderId

integer

None.

SendTime

date

None.

Comment

string

None.

GradeNum

integer

None.

ClassName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "personid": 2,
  "starttime": "2025-02-28 18:17:33",
  "endtime": "2025-02-28 18:17:33",
  "gametype": 1,
  "score": 1,
  "describe": "sample string 3",
  "filename": "sample string 4",
  "isupload": true,
  "uploadtime": "2025-02-28 18:17:33",
  "gardenId": 1,
  "classId": 1,
  "status": 1,
  "senderId": 1,
  "sendTime": "2025-02-28 18:17:33",
  "comment": "sample string 5",
  "gradeNum": 1,
  "className": "sample string 6"
}