POST api/DingDingProgram/ShowModifyRecord

维修记录

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

ModifyRecordResonse
NameDescriptionTypeAdditional information
total

integer

None.

list

Collection of ModifyRecord

None.

result

boolean

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "list": [
    {
      "code": "sample string 1",
      "fix_item": "sample string 2",
      "emp": "sample string 3",
      "img": "sample string 4",
      "reason": "sample string 5",
      "status": 6,
      "add_date": "2024-11-25T17:29:44.3623434+08:00",
      "modified_date": "2024-11-25T17:29:44.3623434+08:00"
    },
    {
      "code": "sample string 1",
      "fix_item": "sample string 2",
      "emp": "sample string 3",
      "img": "sample string 4",
      "reason": "sample string 5",
      "status": 6,
      "add_date": "2024-11-25T17:29:44.3623434+08:00",
      "modified_date": "2024-11-25T17:29:44.3623434+08:00"
    }
  ],
  "result": true,
  "msg": "sample string 3"
}

application/xml, text/xml

Sample:
<ModifyRecordResonse 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>
    <ModifyRecord>
      <add_date>2024-11-25T17:29:44.3623434+08:00</add_date>
      <code>sample string 1</code>
      <emp>sample string 3</emp>
      <fix_item>sample string 2</fix_item>
      <img>sample string 4</img>
      <modified_date>2024-11-25T17:29:44.3623434+08:00</modified_date>
      <reason>sample string 5</reason>
      <status>6</status>
    </ModifyRecord>
    <ModifyRecord>
      <add_date>2024-11-25T17:29:44.3623434+08:00</add_date>
      <code>sample string 1</code>
      <emp>sample string 3</emp>
      <fix_item>sample string 2</fix_item>
      <img>sample string 4</img>
      <modified_date>2024-11-25T17:29:44.3623434+08:00</modified_date>
      <reason>sample string 5</reason>
      <status>6</status>
    </ModifyRecord>
  </list>
  <total>1</total>
</ModifyRecordResonse>