POST dz_api/OutdoorWork/UpdateType

修改外勤类型

Request Information

URI Parameters

None.

Body Parameters

OWTUpdateModel
NameDescriptionTypeAdditional information
typeId

任务类型ID

integer

None.

typeName

任务类型名称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "typeId": 1,
  "typeName": "sample string 2"
}

application/xml, text/xml

Sample:
<OWTUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.OutdoorWork.Models">
  <typeId>1</typeId>
  <typeName>sample string 2</typeName>
</OWTUpdateModel>

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>