POST api/Administrator/Service/Type/Update?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

ServiceTypeApiModel
NameDescriptionTypeAdditional information
EncId

string

None.

ServiceType

string

Required

Max length: 50

Request Formats

application/json, text/json

Sample:
{
  "EncId": "sample string 1",
  "ServiceType": "sample string 2"
}

application/xml, text/xml

Sample:
<ServiceTypeApiModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EncId>sample string 1</EncId>
  <ServiceType>sample string 2</ServiceType>
</ServiceTypeApiModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ServiceTypeApiModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.