PUT api/PayrollLoanMaster/Update

Request Information

URI Parameters

None.

Body Parameters

PayrollLoanMasterUpdateVM
NameDescriptionTypeAdditional information
LoanId

integer

Required

BookId

integer

Required

LoanName

string

Required

String length: inclusive between 0 and 100

Code

string

String length: inclusive between 0 and 10

LoanType

PayrollLoanTypeLookupVM

Required

IsAdvance

string

Required

Matching regular expression pattern: Y|N

MaxLoanAmount

decimal number

None.

AdvSalMonths

integer

None.

DisburseInstall

integer

None.

DisburseInterval

integer

None.

LoanInterest

decimal number

None.

LoanPeriod

integer

None.

LoanEmi

decimal number

None.

EmiWithPayroll

string

Required

Matching regular expression pattern: Y|N

Status

string

Required

Matching regular expression pattern: A|I

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "LoanId": 1,
  "BookId": 2,
  "LoanName": "sample string 3",
  "Code": "sample string 4",
  "LoanType": {
    "LoanTypeId": 1,
    "LoanTypeName": "sample string 2"
  },
  "IsAdvance": "sample string 5",
  "MaxLoanAmount": 6.0,
  "AdvSalMonths": 7,
  "DisburseInstall": 8,
  "DisburseInterval": 9,
  "LoanInterest": 10.0,
  "LoanPeriod": 11,
  "LoanEmi": 12.0,
  "EmiWithPayroll": "sample string 13",
  "Status": "sample string 14",
  "UpdateUser": 15,
  "UpdateIp": "sample string 16"
}

application/xml, text/xml

Sample:
<PayrollLoanMasterUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AdvSalMonths>7</AdvSalMonths>
  <BookId>2</BookId>
  <Code>sample string 4</Code>
  <DisburseInstall>8</DisburseInstall>
  <DisburseInterval>9</DisburseInterval>
  <EmiWithPayroll>sample string 13</EmiWithPayroll>
  <IsAdvance>sample string 5</IsAdvance>
  <LoanEmi>12</LoanEmi>
  <LoanId>1</LoanId>
  <LoanInterest>10</LoanInterest>
  <LoanName>sample string 3</LoanName>
  <LoanPeriod>11</LoanPeriod>
  <LoanType>
    <LoanTypeId>1</LoanTypeId>
    <LoanTypeName>sample string 2</LoanTypeName>
  </LoanType>
  <MaxLoanAmount>6</MaxLoanAmount>
  <Status>sample string 14</Status>
  <UpdateIp>sample string 16</UpdateIp>
  <UpdateUser>15</UpdateUser>
</PayrollLoanMasterUpdateVM>

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.