PUT api/InwardEntry/Update

Request Information

URI Parameters

None.

Body Parameters

InwardEntryUpdateVM
NameDescriptionTypeAdditional information
InwardId

integer

Required

BookId

integer

Required

InwardDate

string

Required

Refno

string

Required

String length: inclusive between 0 and 15

Type

InwardTypeLookup

None.

Category

InwardCategoryLookup

None.

Isconfidential

string

None.

MailListType

InwardMailListTypeLookup

None.

MailerId

integer

None.

Prefix

PrefixLookup

None.

FromPerson

string

String length: inclusive between 0 and 100

Address1

string

String length: inclusive between 0 and 200

Address2

string

String length: inclusive between 0 and 200

AddressPincode

string

String length: inclusive between 0 and 50

AddressPlace

string

String length: inclusive between 0 and 100

AddressLandMark

string

String length: inclusive between 0 and 200

AddressPostOfficeId

integer

None.

AddressDistrictId

integer

None.

AddressStateId

integer

None.

AddressCountryId

integer

None.

AssignDepartmentId

integer

None.

AssignEmployeeId

integer

None.

AssignDate

string

None.

Subject

InwardSubjectLookup

None.

AttachItem

string

String length: inclusive between 0 and 200

BookType

AccountBookTypeLookup

None.

AmtMode

AccountAmtModeLookup

None.

AmtModeDate

string

None.

DrawnOn

string

String length: inclusive between 0 and 100

Bank

BankMasterLookupVM

None.

Currency

CurrencyLookupVM

None.

Amount

decimal number

None.

InwardStatus

InwardStatusLookup

None.

InwRemarks

string

String length: inclusive between 0 and 100

InwFileno

string

String length: inclusive between 0 and 100

Courier

InwardCourierLookup

None.

InwFromEntry

string

Required

GledgerId

integer

None.

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

ConfirmStatus

string

Required

Matching regular expression pattern: Y|N

ClosedRemarks

string

String length: inclusive between 0 and 100

FinYear

integer

None.

InwardPriority

PriorityLookupVM

None.

AmtModeNo

string

String length: inclusive between 0 and 25

PostageType

PostageTypeLookupVM

None.

Request Formats

application/json, text/json

Sample:
{
  "InwardId": 1,
  "BookId": 2,
  "InwardDate": "sample string 3",
  "Refno": "sample string 4",
  "Type": {
    "InwTypeId": 1,
    "InwTypeName": "sample string 2"
  },
  "Category": {
    "InwCategoryId": 1,
    "InwCategoryName": "sample string 2"
  },
  "Isconfidential": "sample string 5",
  "MailListType": {
    "MailListTypeId": 1,
    "MailListTypeName": "sample string 2"
  },
  "MailerId": 6,
  "Prefix": {
    "PrefixId": 1,
    "PrefixName": "sample string 2"
  },
  "FromPerson": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "AddressPincode": "sample string 10",
  "AddressPlace": "sample string 11",
  "AddressLandMark": "sample string 12",
  "AddressPostOfficeId": 13,
  "AddressDistrictId": 14,
  "AddressStateId": 15,
  "AddressCountryId": 16,
  "AssignDepartmentId": 17,
  "AssignEmployeeId": 18,
  "AssignDate": "sample string 19",
  "Subject": {
    "InwSubjectId": 1,
    "InwSubjectName": "sample string 2"
  },
  "AttachItem": "sample string 20",
  "BookType": {
    "BookTypeId": 1,
    "BookTypeName": "sample string 2"
  },
  "AmtMode": {
    "AmtModeId": 1,
    "AmtModeName": "sample string 2",
    "AmtModeDebitColEnableSts": "sample string 3",
    "AmtModeCreditColEnableSts": "sample string 4"
  },
  "AmtModeDate": "sample string 21",
  "DrawnOn": "sample string 22",
  "Bank": {
    "BankId": 1,
    "BankName": "sample string 2"
  },
  "Currency": {
    "CurrencyId": 1,
    "CurrencyName": "sample string 2",
    "CurrentRate": 3.0
  },
  "Amount": 23.0,
  "InwardStatus": {
    "InwardStatusId": 1,
    "InwardStatusName": "sample string 2"
  },
  "InwRemarks": "sample string 24",
  "InwFileno": "sample string 25",
  "Courier": {
    "CourierId": 1,
    "CourierName": "sample string 2"
  },
  "InwFromEntry": "sample string 26",
  "GledgerId": 27,
  "UpdateUser": 28,
  "UpdateIp": "sample string 29",
  "ConfirmStatus": "sample string 30",
  "ClosedRemarks": "sample string 31",
  "FinYear": 32,
  "InwardPriority": {
    "PriorityId": 1,
    "PriorityName": "sample string 2"
  },
  "AmtModeNo": "sample string 33",
  "PostageType": {
    "PostageTypeId": 1,
    "PostageTypeName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<InwardEntryUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <AddressCountryId>16</AddressCountryId>
  <AddressDistrictId>14</AddressDistrictId>
  <AddressLandMark>sample string 12</AddressLandMark>
  <AddressPincode>sample string 10</AddressPincode>
  <AddressPlace>sample string 11</AddressPlace>
  <AddressPostOfficeId>13</AddressPostOfficeId>
  <AddressStateId>15</AddressStateId>
  <Amount>23</Amount>
  <AmtMode>
    <AmtModeCreditColEnableSts>sample string 4</AmtModeCreditColEnableSts>
    <AmtModeDebitColEnableSts>sample string 3</AmtModeDebitColEnableSts>
    <AmtModeId>1</AmtModeId>
    <AmtModeName>sample string 2</AmtModeName>
  </AmtMode>
  <AmtModeDate>sample string 21</AmtModeDate>
  <AmtModeNo>sample string 33</AmtModeNo>
  <AssignDate>sample string 19</AssignDate>
  <AssignDepartmentId>17</AssignDepartmentId>
  <AssignEmployeeId>18</AssignEmployeeId>
  <AttachItem>sample string 20</AttachItem>
  <Bank>
    <BankId>1</BankId>
    <BankName>sample string 2</BankName>
  </Bank>
  <BookId>2</BookId>
  <BookType>
    <BookTypeId>1</BookTypeId>
    <BookTypeName>sample string 2</BookTypeName>
  </BookType>
  <Category>
    <InwCategoryId>1</InwCategoryId>
    <InwCategoryName>sample string 2</InwCategoryName>
  </Category>
  <ClosedRemarks>sample string 31</ClosedRemarks>
  <ConfirmStatus>sample string 30</ConfirmStatus>
  <Courier>
    <CourierId>1</CourierId>
    <CourierName>sample string 2</CourierName>
  </Courier>
  <Currency>
    <CurrencyId>1</CurrencyId>
    <CurrencyName>sample string 2</CurrencyName>
    <CurrentRate>3</CurrentRate>
  </Currency>
  <DrawnOn>sample string 22</DrawnOn>
  <FinYear>32</FinYear>
  <FromPerson>sample string 7</FromPerson>
  <GledgerId>27</GledgerId>
  <InwFileno>sample string 25</InwFileno>
  <InwFromEntry>sample string 26</InwFromEntry>
  <InwRemarks>sample string 24</InwRemarks>
  <InwardDate>sample string 3</InwardDate>
  <InwardId>1</InwardId>
  <InwardPriority>
    <PriorityId>1</PriorityId>
    <PriorityName>sample string 2</PriorityName>
  </InwardPriority>
  <InwardStatus>
    <InwardStatusId>1</InwardStatusId>
    <InwardStatusName>sample string 2</InwardStatusName>
  </InwardStatus>
  <Isconfidential>sample string 5</Isconfidential>
  <MailListType>
    <MailListTypeId>1</MailListTypeId>
    <MailListTypeName>sample string 2</MailListTypeName>
  </MailListType>
  <MailerId>6</MailerId>
  <PostageType>
    <PostageTypeId>1</PostageTypeId>
    <PostageTypeName>sample string 2</PostageTypeName>
  </PostageType>
  <Prefix>
    <PrefixId>1</PrefixId>
    <PrefixName>sample string 2</PrefixName>
  </Prefix>
  <Refno>sample string 4</Refno>
  <Subject>
    <InwSubjectId>1</InwSubjectId>
    <InwSubjectName>sample string 2</InwSubjectName>
  </Subject>
  <Type>
    <InwTypeId>1</InwTypeId>
    <InwTypeName>sample string 2</InwTypeName>
  </Type>
  <UpdateIp>sample string 29</UpdateIp>
  <UpdateUser>28</UpdateUser>
</InwardEntryUpdateVM>

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.