POST api/getXunjianevent/add
Request Information
URI Parameters
None.
Body Parameters
inspection_taskevent1| Name | Description | Type | Additional information |
|---|---|---|---|
| task_id | string |
None. |
|
| task_title | string |
None. |
|
| task_eventremark | string |
None. |
|
| task_eventetimg | Collection of string |
None. |
|
| lat | decimal number |
None. |
|
| lng | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"task_id": "sample string 1",
"task_title": "sample string 2",
"task_eventremark": "sample string 3",
"task_eventetimg": [
"sample string 1",
"sample string 2"
],
"lat": 4.1,
"lng": 5.1
}
application/xml, text/xml
Sample:
<inspection_taskevent1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
<lat>4.1</lat>
<lng>5.1</lng>
<task_eventetimg xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</task_eventetimg>
<task_eventremark>sample string 3</task_eventremark>
<task_id>sample string 1</task_id>
<task_title>sample string 2</task_title>
</inspection_taskevent1>
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" />