POST dz_api/OutdoorWork/Close

关闭外勤任务

Request Information

URI Parameters

None.

Body Parameters

OWCloseModel
NameDescriptionTypeAdditional information
works

外勤任务ID

Collection of integer

None.

closeInfo

关闭原因

string

None.

Request Formats

application/json, text/json

Sample:
{
  "works": [
    1,
    2
  ],
  "closeInfo": "sample string 1"
}

application/xml, text/xml

Sample:
<OWCloseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.OutdoorWork.Models">
  <closeInfo>sample string 1</closeInfo>
  <works xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </works>
</OWCloseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

关闭外勤任务

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>