POST api/PFLoanDueEntry/Save
Request Information
URI Parameters
None.
Body Parameters
PFLoanDueEntrySaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookType | AccountBookTypeLookup |
Required |
|
| BookId | integer |
Required |
|
| LoanDate | string |
Required |
|
| Member | PFMemberLookupVM |
Required |
|
| LoanCategory | PFLoanCategoryLookupVM |
Required |
|
| LoanStatus | PFLoanStatusLookupVM |
Required |
|
| LoanAmount | decimal number |
Required |
|
| RepaidPrinciple | decimal number |
Required |
|
| RepaidInterest | decimal number |
Required |
|
| LastRepayDate | string |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| FinYearId | integer |
Required |
|
| Remarks | string |
String length: inclusive between 0 and 300 |
Request Formats
application/json, text/json
Sample:
{
"BookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"BookId": 1,
"LoanDate": "sample string 2",
"Member": {
"PfRegId": 1,
"PFNo": "sample string 2",
"Category": {
"CategoryId": 1,
"CategoryName": "sample string 2"
},
"MemberName": "sample string 3",
"Prefix": "sample string 4",
"MemberCode": "sample string 5",
"Address": "sample string 6",
"Establishment": "sample string 7",
"JoinDate": "sample string 8"
},
"LoanCategory": {
"LoanCategoryId": 1,
"LoanCategoryName": "sample string 2"
},
"LoanStatus": {
"LoanStatusId": 1,
"LoanStatusName": "sample string 2"
},
"LoanAmount": 3.0,
"RepaidPrinciple": 4.0,
"RepaidInterest": 5.0,
"LastRepayDate": "sample string 6",
"CreateUser": 7,
"CreateIp": "sample string 8",
"FinYearId": 9,
"Remarks": "sample string 10"
}
application/xml, text/xml
Sample:
<PFLoanDueEntrySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<BookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BookType>
<CreateIp>sample string 8</CreateIp>
<CreateUser>7</CreateUser>
<FinYearId>9</FinYearId>
<LastRepayDate>sample string 6</LastRepayDate>
<LoanAmount>3</LoanAmount>
<LoanCategory>
<LoanCategoryId>1</LoanCategoryId>
<LoanCategoryName>sample string 2</LoanCategoryName>
</LoanCategory>
<LoanDate>sample string 2</LoanDate>
<LoanStatus>
<LoanStatusId>1</LoanStatusId>
<LoanStatusName>sample string 2</LoanStatusName>
</LoanStatus>
<Member>
<Address>sample string 6</Address>
<Category>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
</Category>
<Establishment>sample string 7</Establishment>
<JoinDate>sample string 8</JoinDate>
<MemberCode>sample string 5</MemberCode>
<MemberName>sample string 3</MemberName>
<PFNo>sample string 2</PFNo>
<PfRegId>1</PfRegId>
<Prefix>sample string 4</Prefix>
</Member>
<Remarks>sample string 10</Remarks>
<RepaidInterest>5</RepaidInterest>
<RepaidPrinciple>4</RepaidPrinciple>
</PFLoanDueEntrySaveVM>
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.