POST api/DingDingProgram/LoadSubCodeNew

获取点检项目子类

Request Information

URI Parameters

None.

Body Parameters

CheckItemListRequest
NameDescriptionTypeAdditional information
DataType

项目类型 0:部门 1:个人

integer

None.

Code

大类code

string

None.

PlaceCode

地点编码

string

None.

userID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DataType": 1,
  "Code": "sample string 1",
  "PlaceCode": "sample string 2",
  "userID": "sample string 3"
}

application/xml, text/xml

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

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 'CheckItemListRequest'.

Response Information

Resource Description

LoadSubCodeNewDto
NameDescriptionTypeAdditional information
list

Collection of LoadSubCodeResponse

None.

msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "list": [
    {
      "code": "sample string 1",
      "title": "sample string 2",
      "check_pic": "sample string 3",
      "check_video": "sample string 4",
      "check_remark": "sample string 5",
      "id": 6,
      "start": "2024-11-25T17:58:32.0557028+08:00",
      "end": "2024-11-25T17:58:32.0557028+08:00",
      "flag": 9,
      "time_start": "sample string 10",
      "time_end": "sample string 11",
      "item_standard": "sample string 12",
      "is_pic": 1,
      "item_type": 1,
      "demo_img": "sample string 13"
    },
    {
      "code": "sample string 1",
      "title": "sample string 2",
      "check_pic": "sample string 3",
      "check_video": "sample string 4",
      "check_remark": "sample string 5",
      "id": 6,
      "start": "2024-11-25T17:58:32.0557028+08:00",
      "end": "2024-11-25T17:58:32.0557028+08:00",
      "flag": 9,
      "time_start": "sample string 10",
      "time_end": "sample string 11",
      "item_standard": "sample string 12",
      "is_pic": 1,
      "item_type": 1,
      "demo_img": "sample string 13"
    }
  ],
  "msg": "sample string 1",
  "result": true
}

application/xml, text/xml

Sample:
<LoadSubCodeNewDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <msg xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">sample string 1</msg>
  <result xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">true</result>
  <list>
    <LoadSubCodeResponse>
      <check_pic>sample string 3</check_pic>
      <check_remark>sample string 5</check_remark>
      <check_video>sample string 4</check_video>
      <code>sample string 1</code>
      <demo_img>sample string 13</demo_img>
      <end>2024-11-25T17:58:32.0557028+08:00</end>
      <flag>9</flag>
      <id>6</id>
      <is_pic>1</is_pic>
      <item_standard>sample string 12</item_standard>
      <item_type>1</item_type>
      <start>2024-11-25T17:58:32.0557028+08:00</start>
      <time_end>sample string 11</time_end>
      <time_start>sample string 10</time_start>
      <title>sample string 2</title>
    </LoadSubCodeResponse>
    <LoadSubCodeResponse>
      <check_pic>sample string 3</check_pic>
      <check_remark>sample string 5</check_remark>
      <check_video>sample string 4</check_video>
      <code>sample string 1</code>
      <demo_img>sample string 13</demo_img>
      <end>2024-11-25T17:58:32.0557028+08:00</end>
      <flag>9</flag>
      <id>6</id>
      <is_pic>1</is_pic>
      <item_standard>sample string 12</item_standard>
      <item_type>1</item_type>
      <start>2024-11-25T17:58:32.0557028+08:00</start>
      <time_end>sample string 11</time_end>
      <time_start>sample string 10</time_start>
      <title>sample string 2</title>
    </LoadSubCodeResponse>
  </list>
</LoadSubCodeNewDto>