POST api/PayrollLoanMaster/Save

Request Information

URI Parameters

None.

Body Parameters

PayrollLoanMasterSaveVM
NameDescriptionTypeAdditional information
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

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "LoanName": "sample string 2",
  "Code": "sample string 3",
  "LoanType": {
    "LoanTypeId": 1,
    "LoanTypeName": "sample string 2"
  },
  "IsAdvance": "sample string 4",
  "MaxLoanAmount": 5.0,
  "AdvSalMonths": 6,
  "DisburseInstall": 7,
  "DisburseInterval": 8,
  "LoanInterest": 9.0,
  "LoanPeriod": 10,
  "LoanEmi": 11.0,
  "EmiWithPayroll": "sample string 12",
  "Status": "sample string 13",
  "CreateUser": 14,
  "CreateIp": "sample string 15"
}

application/xml, text/xml

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

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.