POST api/taskevent/add

Request Information

URI Parameters

None.

Body Parameters

t_inspection_taskevent
NameDescriptionTypeAdditional information
Evaluate

string

None.

task_eventetimg

Collection of string

None.

task_eventetimg2

Collection of string

None.

pjresult

string

None.

pjbz

string

None.

lat

string

None.

lng

string

None.

Taskname

string

None.

username

string

None.

task_states

string

None.

task_stimes

string

None.

task_etimes

string

None.

t_Task_Eventid

string

None.

t_Task_Eventtitle

string

None.

t_Task_Eventuserid

integer

None.

t_Task_Eventstime

date

None.

t_Task_Eventetime

date

None.

t_Task_Eventetimg

string

None.

t_Task_Eventetimg2

string

None.

t_Task_Eventstate

integer

None.

t_Task_EventRemark

string

None.

t_Task_EventRemark2

string

None.

t_TaskID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "_t_task_eventid": "sample string 11",
  "_t_task_eventtitle": "sample string 12",
  "_t_task_eventuserid": 1,
  "_t_task_eventstime": "2026-01-11T08:59:31.8795079+08:00",
  "_t_task_eventetime": "2026-01-11T08:59:31.8795079+08:00",
  "_t_task_eventetimg": "sample string 15",
  "_t_task_eventetimg2": "sample string 16",
  "_t_task_eventstate": 17,
  "_t_task_eventremark": "sample string 18",
  "_t_taskid": "sample string 20",
  "_t_task_eventremark2": "sample string 19",
  "_task_states": "sample string 8",
  "_task_stimes": "sample string 9",
  "_task_etimes": "sample string 10",
  "_username": "sample string 7",
  "_taskname": "sample string 6",
  "_evaluate": "sample string 1",
  "_lng": "sample string 5",
  "_lat": "sample string 4",
  "_pjresult": "sample string 2",
  "_pjbz": "sample string 3",
  "_task_eventetimg": [
    "sample string 1",
    "sample string 2"
  ],
  "_task_eventetimg2": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<t_inspection_taskevent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bksWater.Model">
  <_evaluate>sample string 1</_evaluate>
  <_lat>sample string 4</_lat>
  <_lng>sample string 5</_lng>
  <_pjbz>sample string 3</_pjbz>
  <_pjresult>sample string 2</_pjresult>
  <_t_task_eventetime>2026-01-11T08:59:31.8795079+08:00</_t_task_eventetime>
  <_t_task_eventetimg>sample string 15</_t_task_eventetimg>
  <_t_task_eventetimg2>sample string 16</_t_task_eventetimg2>
  <_t_task_eventid>sample string 11</_t_task_eventid>
  <_t_task_eventremark>sample string 18</_t_task_eventremark>
  <_t_task_eventremark2>sample string 19</_t_task_eventremark2>
  <_t_task_eventstate>17</_t_task_eventstate>
  <_t_task_eventstime>2026-01-11T08:59:31.8795079+08:00</_t_task_eventstime>
  <_t_task_eventtitle>sample string 12</_t_task_eventtitle>
  <_t_task_eventuserid>1</_t_task_eventuserid>
  <_t_taskid>sample string 20</_t_taskid>
  <_task_etimes>sample string 10</_task_etimes>
  <_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_eventetimg2 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_eventetimg2>
  <_task_states>sample string 8</_task_states>
  <_task_stimes>sample string 9</_task_stimes>
  <_taskname>sample string 6</_taskname>
  <_username>sample string 7</_username>
</t_inspection_taskevent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfString
NameDescriptionTypeAdditional 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" />