PUT api/AccountPassBookEntry/Update

Request Information

URI Parameters

None.

Body Parameters

AccountPassBookEntryUpdateVM
NameDescriptionTypeAdditional information
PassBookEntryId

integer

Required

PbeRefNoWithPrefix

string

Required

String length: inclusive between 0 and 35

Book

AccountBookLookup

Required

BookType

AccountBookTypeLookup

Required

FinYear

AccountFinYearLookup

Required

BankAccount

AccountMasterLookupForLedger

Required

PassBookDate

string

Required

PassBookEntryType

AccountPassBookEntryTypeLookupVM

Required

AddAmt

decimal number

None.

LessAmt

decimal number

None.

PbeRemark

string

String length: inclusive between 0 and 1000

ChqDdNo

string

String length: inclusive between 0 and 25

ChqDdDate

string

None.

DrawnOn

string

String length: inclusive between 0 and 100

AdjustDate

string

None.

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

AuthSts

string

Required

Matching regular expression pattern: Y|N

SuperUserSts

string

Required

Matching regular expression pattern: Y|N

Request Formats

application/json, text/json

Sample:
{
  "PassBookEntryId": 1,
  "PbeRefNoWithPrefix": "sample string 2",
  "Book": {
    "BookId": 1,
    "BookName": "sample string 2"
  },
  "BookType": {
    "BookTypeId": 1,
    "BookTypeName": "sample string 2"
  },
  "FinYear": {
    "FinYearId": 1,
    "FinYearName": "sample string 2"
  },
  "BankAccount": {
    "AccountId": 1,
    "AccountName": "sample string 2",
    "CategoryId": 3,
    "AccountCode": "sample string 4",
    "BankName": "sample string 5",
    "BankBranchName": "sample string 6",
    "SubAccSts": "sample string 7"
  },
  "PassBookDate": "sample string 3",
  "PassBookEntryType": {
    "PbeTypeId": 1,
    "PbeTypeName": "sample string 2"
  },
  "AddAmt": 4.0,
  "LessAmt": 5.0,
  "PbeRemark": "sample string 6",
  "ChqDdNo": "sample string 7",
  "ChqDdDate": "sample string 8",
  "DrawnOn": "sample string 9",
  "AdjustDate": "sample string 10",
  "UpdateUser": 11,
  "UpdateIp": "sample string 12",
  "AuthSts": "sample string 13",
  "SuperUserSts": "sample string 14"
}

application/xml, text/xml

Sample:
<AccountPassBookEntryUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AddAmt>4</AddAmt>
  <AdjustDate>sample string 10</AdjustDate>
  <AuthSts>sample string 13</AuthSts>
  <BankAccount>
    <AccountCode>sample string 4</AccountCode>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
    <BankBranchName>sample string 6</BankBranchName>
    <BankName>sample string 5</BankName>
    <CategoryId>3</CategoryId>
    <SubAccSts>sample string 7</SubAccSts>
  </BankAccount>
  <Book>
    <BookId>1</BookId>
    <BookName>sample string 2</BookName>
  </Book>
  <BookType>
    <BookTypeId>1</BookTypeId>
    <BookTypeName>sample string 2</BookTypeName>
  </BookType>
  <ChqDdDate>sample string 8</ChqDdDate>
  <ChqDdNo>sample string 7</ChqDdNo>
  <DrawnOn>sample string 9</DrawnOn>
  <FinYear>
    <FinYearId>1</FinYearId>
    <FinYearName>sample string 2</FinYearName>
  </FinYear>
  <LessAmt>5</LessAmt>
  <PassBookDate>sample string 3</PassBookDate>
  <PassBookEntryId>1</PassBookEntryId>
  <PassBookEntryType>
    <PbeTypeId>1</PbeTypeId>
    <PbeTypeName>sample string 2</PbeTypeName>
  </PassBookEntryType>
  <PbeRefNoWithPrefix>sample string 2</PbeRefNoWithPrefix>
  <PbeRemark>sample string 6</PbeRemark>
  <SuperUserSts>sample string 14</SuperUserSts>
  <UpdateIp>sample string 12</UpdateIp>
  <UpdateUser>11</UpdateUser>
</AccountPassBookEntryUpdateVM>

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.