POST api/InwardTransfer/Save

Request Information

URI Parameters

None.

Body Parameters

InwardTransferSaveVM
NameDescriptionTypeAdditional information
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.

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

InwardStatus

InwardStatusLookup

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "InwTransDate": "sample string 2",
  "FromEmployeeId": 3,
  "ToDepartmentId": 4,
  "ToEmployeeId": 5,
  "InwTransRemarks": "sample string 6",
  "InwardEntry": {
    "InwardId": 1,
    "RefNo": "sample string 2"
  },
  "CreateUser": 7,
  "CreateIp": "sample string 8",
  "InwardStatus": {
    "InwardStatusId": 1,
    "InwardStatusName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<InwardTransferSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <CreateIp>sample string 8</CreateIp>
  <CreateUser>7</CreateUser>
  <FromEmployeeId>3</FromEmployeeId>
  <InwTransDate>sample string 2</InwTransDate>
  <InwTransRemarks>sample string 6</InwTransRemarks>
  <InwardEntry>
    <InwardId>1</InwardId>
    <RefNo>sample string 2</RefNo>
  </InwardEntry>
  <InwardStatus>
    <InwardStatusId>1</InwardStatusId>
    <InwardStatusName>sample string 2</InwardStatusName>
  </InwardStatus>
  <ToDepartmentId>4</ToDepartmentId>
  <ToEmployeeId>5</ToEmployeeId>
</InwardTransferSaveVM>

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.