POST api/DingDingProgram/ShowPunishRecord

处罚记录

Request Information

URI Parameters

None.

Body Parameters

PunishRecordRequest
NameDescriptionTypeAdditional information
Code

string

None.

pageSize

integer

None.

pageIndex

integer

None.

userID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "pageSize": 2,
  "pageIndex": 3,
  "userID": "sample string 4"
}

application/xml, text/xml

Sample:
<PunishRecordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <userID>sample string 4</userID>
  <Code>sample string 1</Code>
  <pageIndex>3</pageIndex>
  <pageSize>2</pageSize>
</PunishRecordRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PunishRecordRequest'.

Response Information

Resource Description

PunishRecordResonse
NameDescriptionTypeAdditional information
total

integer

None.

list

Collection of PunishRecord

None.

result

boolean

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "list": [
    {
      "code": "sample string 1",
      "emp": "sample string 2",
      "img": "sample string 3",
      "reason": "sample string 4",
      "status": 5,
      "create_time": "2024-11-25T17:31:29.7324606+08:00"
    },
    {
      "code": "sample string 1",
      "emp": "sample string 2",
      "img": "sample string 3",
      "reason": "sample string 4",
      "status": 5,
      "create_time": "2024-11-25T17:31:29.7324606+08:00"
    }
  ],
  "result": true,
  "msg": "sample string 3"
}

application/xml, text/xml

Sample:
<PunishRecordResonse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <msg>sample string 3</msg>
  <result>true</result>
  <list>
    <PunishRecord>
      <code>sample string 1</code>
      <create_time>2024-11-25T17:31:29.7324606+08:00</create_time>
      <emp>sample string 2</emp>
      <img>sample string 3</img>
      <reason>sample string 4</reason>
      <status>5</status>
    </PunishRecord>
    <PunishRecord>
      <code>sample string 1</code>
      <create_time>2024-11-25T17:31:29.7324606+08:00</create_time>
      <emp>sample string 2</emp>
      <img>sample string 3</img>
      <reason>sample string 4</reason>
      <status>5</status>
    </PunishRecord>
  </list>
  <total>1</total>
</PunishRecordResonse>