POST api/MedAidSettings/Save
Request Information
URI Parameters
None.
Body Parameters
MedAidSettingsVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| StartingPeriod | MedAidPeriodLookupVM |
Required |
|
| EmployeeReimbursementAccount | AccountMasterLookup |
Required |
|
| ClergyReimbursementAccount | AccountMasterLookup |
Required |
|
| MemberEligibleClaimPerc | decimal number |
Required |
|
| FamilyEligibleClaimPerc | decimal number |
Required |
|
| OTMaximumClaimAmount | decimal number |
Required |
|
| RoomRentMaximumClaimAmount | decimal number |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"StartingPeriod": {
"PeriodId": 1,
"PeriodName": "sample string 2"
},
"EmployeeReimbursementAccount": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"ClergyReimbursementAccount": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"MemberEligibleClaimPerc": 2.0,
"FamilyEligibleClaimPerc": 3.0,
"OTMaximumClaimAmount": 4.0,
"RoomRentMaximumClaimAmount": 5.0,
"CreateUser": 6,
"CreateIp": "sample string 7"
}
application/xml, text/xml
Sample:
<MedAidSettingsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<ClergyReimbursementAccount>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</ClergyReimbursementAccount>
<CreateIp>sample string 7</CreateIp>
<CreateUser>6</CreateUser>
<EmployeeReimbursementAccount>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</EmployeeReimbursementAccount>
<FamilyEligibleClaimPerc>3</FamilyEligibleClaimPerc>
<MemberEligibleClaimPerc>2</MemberEligibleClaimPerc>
<OTMaximumClaimAmount>4</OTMaximumClaimAmount>
<RoomRentMaximumClaimAmount>5</RoomRentMaximumClaimAmount>
<StartingPeriod>
<PeriodId>1</PeriodId>
<PeriodName>sample string 2</PeriodName>
</StartingPeriod>
</MedAidSettingsVM>
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.