POST api/PensionRevision/Save
Request Information
URI Parameters
None.
Body Parameters
PensionRevisionSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| FinYearId | integer |
Required |
|
| EntryDate | string |
Required |
|
| RefNo | string |
Required string length: inclusive between 0 and 20 |
|
| WefMonth | MonthsLookupVM |
Required |
|
| WefYear | integer |
Required |
|
| FullPensionRate | decimal number |
Required |
|
| FamilyPensionRate | decimal number |
Required |
|
| ClergyWidowPensionAmount | decimal number |
Required |
|
| WorkerWidowPensionAmount | decimal number |
Required |
|
| Remarks | string |
string length: inclusive between 0 and 300 |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required string length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"FinYearId": 2,
"EntryDate": "sample string 3",
"RefNo": "sample string 4",
"WefMonth": {
"MonthId": 1,
"MonthName": "sample string 2"
},
"WefYear": 5,
"FullPensionRate": 6.0,
"FamilyPensionRate": 7.0,
"ClergyWidowPensionAmount": 8.0,
"WorkerWidowPensionAmount": 9.0,
"Remarks": "sample string 10",
"CreateUser": 11,
"CreateIp": "sample string 12"
}
application/xml, text/xml
Sample:
<PensionRevisionSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<ClergyWidowPensionAmount>8</ClergyWidowPensionAmount>
<CreateIp>sample string 12</CreateIp>
<CreateUser>11</CreateUser>
<EntryDate>sample string 3</EntryDate>
<FamilyPensionRate>7</FamilyPensionRate>
<FinYearId>2</FinYearId>
<FullPensionRate>6</FullPensionRate>
<RefNo>sample string 4</RefNo>
<Remarks>sample string 10</Remarks>
<WefMonth>
<MonthId>1</MonthId>
<MonthName>sample string 2</MonthName>
</WefMonth>
<WefYear>5</WefYear>
<WorkerWidowPensionAmount>9</WorkerWidowPensionAmount>
</PensionRevisionSaveVM>
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.