POST api/getXunjianPlan/add
Request Information
URI Parameters
None.
Body Parameters
inspection_task| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| Address | string |
None. |
|
| userid | integer |
None. |
|
| username | string |
None. |
|
| stime | date |
None. |
|
| etime | date |
None. |
|
| tweek | integer |
None. |
|
| state | integer |
None. |
|
| taskmark | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"Address": "sample string 2",
"userid": 3,
"username": "sample string 4",
"stime": "2026-01-11T09:00:27.6553688+08:00",
"etime": "2026-01-11T09:00:27.6553688+08:00",
"tweek": 7,
"state": 8,
"taskmark": "sample string 9"
}
application/xml, text/xml
Sample:
<inspection_task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <Address>sample string 2</Address> <etime>2026-01-11T09:00:27.6553688+08:00</etime> <id>1</id> <state>8</state> <stime>2026-01-11T09:00:27.6553688+08:00</stime> <taskmark>sample string 9</taskmark> <tweek>7</tweek> <userid>3</userid> <username>sample string 4</username> </inspection_task>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YC.Core" />