PUT api/EstWorkType/Update

Request Information

URI Parameters

None.

Body Parameters

EstWorkTypeUpdateVM
NameDescriptionTypeAdditional information
BookId

integer

Required

WorkTypeId

integer

Required

WorkTypeName

string

Required

String length: inclusive between 0 and 100

Code

string

String length: inclusive between 0 and 10

Status

string

Required

Matching regular expression pattern: A|I

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

MaleWage

decimal number

None.

FemaleWage

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "WorkTypeId": 2,
  "WorkTypeName": "sample string 3",
  "Code": "sample string 4",
  "Status": "sample string 5",
  "UpdateUser": 6,
  "UpdateIp": "sample string 7",
  "MaleWage": 8.0,
  "FemaleWage": 9.0
}

application/xml, text/xml

Sample:
<EstWorkTypeUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <Code>sample string 4</Code>
  <FemaleWage>9</FemaleWage>
  <MaleWage>8</MaleWage>
  <Status>sample string 5</Status>
  <UpdateIp>sample string 7</UpdateIp>
  <UpdateUser>6</UpdateUser>
  <WorkTypeId>2</WorkTypeId>
  <WorkTypeName>sample string 3</WorkTypeName>
</EstWorkTypeUpdateVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.