PUT api/EstRentCategory/Update

Request Information

URI Parameters

None.

Body Parameters

EstRentCategoryUpdateVM
NameDescriptionTypeAdditional information
BookId

integer

Required

RentCategoryId

integer

Required

RentCategoryName

string

Required

String length: inclusive between 0 and 100

Code

string

String length: inclusive between 0 and 10

MaxPeriodMonths

integer

None.

Status

string

Required

Matching regular expression pattern: A|I

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "RentCategoryId": 2,
  "RentCategoryName": "sample string 3",
  "Code": "sample string 4",
  "MaxPeriodMonths": 5,
  "Status": "sample string 6",
  "UpdateUser": 7,
  "UpdateIp": "sample string 8"
}

application/xml, text/xml

Sample:
<EstRentCategoryUpdateVM 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>
  <MaxPeriodMonths>5</MaxPeriodMonths>
  <RentCategoryId>2</RentCategoryId>
  <RentCategoryName>sample string 3</RentCategoryName>
  <Status>sample string 6</Status>
  <UpdateIp>sample string 8</UpdateIp>
  <UpdateUser>7</UpdateUser>
</EstRentCategoryUpdateVM>

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.