POST api/AccountPassBookEntry/Save
Request Information
URI Parameters
None.
Body Parameters
AccountPassBookEntrySaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"PbeRefNoWithPrefix": "sample string 1",
"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 2",
"PassBookEntryType": {
"PbeTypeId": 1,
"PbeTypeName": "sample string 2"
},
"AddAmt": 3.0,
"LessAmt": 4.0,
"PbeRemark": "sample string 5",
"ChqDdNo": "sample string 6",
"ChqDdDate": "sample string 7",
"DrawnOn": "sample string 8",
"AdjustDate": "sample string 9",
"CreateUser": 10,
"CreateIp": "sample string 11"
}
application/xml, text/xml
Sample:
<AccountPassBookEntrySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AddAmt>3</AddAmt>
<AdjustDate>sample string 9</AdjustDate>
<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 7</ChqDdDate>
<ChqDdNo>sample string 6</ChqDdNo>
<CreateIp>sample string 11</CreateIp>
<CreateUser>10</CreateUser>
<DrawnOn>sample string 8</DrawnOn>
<FinYear>
<FinYearId>1</FinYearId>
<FinYearName>sample string 2</FinYearName>
</FinYear>
<LessAmt>4</LessAmt>
<PassBookDate>sample string 2</PassBookDate>
<PassBookEntryType>
<PbeTypeId>1</PbeTypeId>
<PbeTypeName>sample string 2</PbeTypeName>
</PassBookEntryType>
<PbeRefNoWithPrefix>sample string 1</PbeRefNoWithPrefix>
<PbeRemark>sample string 5</PbeRemark>
</AccountPassBookEntrySaveVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.