POST dz_api/IcServiceSettings/UpdateServiceType

修改

Request Information

URI Parameters

None.

Body Parameters

ServiceModel
NameDescriptionTypeAdditional information
PlannedDays

计划耗时天数

integer

None.

ServiceTypeId

服务的类型ID

integer

None.

ServiceName

服务类型名称

string

None.

IsDefault

是否为默认设置

integer

None.

ParentId

父级服务类型

integer

None.

ServiceClass

服务类 1001 代账;1002 工商

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PlannedDays": 1,
  "ServiceTypeId": 2,
  "ServiceName": "sample string 3",
  "IsDefault": 4,
  "ParentId": 5,
  "ServiceClass": 6
}

application/xml, text/xml

Sample:
<ServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Settings">
  <IsDefault>4</IsDefault>
  <ParentId>5</ParentId>
  <PlannedDays>1</PlannedDays>
  <ServiceClass>6</ServiceClass>
  <ServiceName>sample string 3</ServiceName>
  <ServiceTypeId>2</ServiceTypeId>
</ServiceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

修改

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Msg

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Msg": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model">
  <Data />
  <Msg>sample string 2</Msg>
  <StatusCode>CONTINUE</StatusCode>
  <Success>true</Success>
</MessageModel>