PUT api/InwardTransfer/Update

Request Information

URI Parameters

None.

Body Parameters

InwardTransferUpdateVM
NameDescriptionTypeAdditional information
InwTransId

integer

Required

BookId

integer

Required

InwTransDate

string

Required

FromEmployeeId

integer

None.

ToDepartmentId

integer

None.

ToEmployeeId

integer

None.

InwTransRemarks

string

String length: inclusive between 0 and 100

InwardEntry

InwardEntryLookupVM

None.

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "InwTransId": 1,
  "BookId": 2,
  "InwTransDate": "sample string 3",
  "FromEmployeeId": 4,
  "ToDepartmentId": 5,
  "ToEmployeeId": 6,
  "InwTransRemarks": "sample string 7",
  "InwardEntry": {
    "InwardId": 1,
    "RefNo": "sample string 2"
  },
  "UpdateUser": 8,
  "UpdateIp": "sample string 9"
}

application/xml, text/xml

Sample:
<InwardTransferUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>2</BookId>
  <FromEmployeeId>4</FromEmployeeId>
  <InwTransDate>sample string 3</InwTransDate>
  <InwTransId>1</InwTransId>
  <InwTransRemarks>sample string 7</InwTransRemarks>
  <InwardEntry>
    <InwardId>1</InwardId>
    <RefNo>sample string 2</RefNo>
  </InwardEntry>
  <ToDepartmentId>5</ToDepartmentId>
  <ToEmployeeId>6</ToEmployeeId>
  <UpdateIp>sample string 9</UpdateIp>
  <UpdateUser>8</UpdateUser>
</InwardTransferUpdateVM>

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.