PUT api/MedAidSubscriptDef/Update
Request Information
URI Parameters
None.
Body Parameters
MedAidSubscriptDefUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| Period | MedAidPeriodLookupVM |
Required |
|
| Category | MedAidCategoryLookupVM |
Required |
|
| Type | MedAidTypeLookupVM |
Required |
|
| ContributionType | string |
Required |
|
| MemberAmount | decimal number |
Required |
|
| EstablishAmount | decimal number |
Required |
|
| ContributionPercType | MedAidContrPercTypeLookupVM |
None. |
|
| MemberPerc | decimal number |
Required |
|
| EstablishPerc | decimal number |
Required |
|
| StartDate | string |
Required |
|
| EndDate | string |
Required |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"Period": {
"PeriodId": 1,
"PeriodName": "sample string 2"
},
"Category": {
"CategoryId": 1,
"CategoryName": "sample string 2"
},
"Type": {
"TypeId": 1,
"TypeName": "sample string 2"
},
"ContributionType": "sample string 2",
"MemberAmount": 3.0,
"EstablishAmount": 4.0,
"ContributionPercType": {
"PercTypeId": 1,
"PercTypeName": "sample string 2"
},
"MemberPerc": 5.0,
"EstablishPerc": 6.0,
"StartDate": "sample string 7",
"EndDate": "sample string 8",
"UpdateUser": 9,
"UpdateIp": "sample string 10"
}
application/xml, text/xml
Sample:
<MedAidSubscriptDefUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<Category>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
</Category>
<ContributionPercType>
<PercTypeId>1</PercTypeId>
<PercTypeName>sample string 2</PercTypeName>
</ContributionPercType>
<ContributionType>sample string 2</ContributionType>
<EndDate>sample string 8</EndDate>
<EstablishAmount>4</EstablishAmount>
<EstablishPerc>6</EstablishPerc>
<MemberAmount>3</MemberAmount>
<MemberPerc>5</MemberPerc>
<Period>
<PeriodId>1</PeriodId>
<PeriodName>sample string 2</PeriodName>
</Period>
<StartDate>sample string 7</StartDate>
<Type>
<TypeId>1</TypeId>
<TypeName>sample string 2</TypeName>
</Type>
<UpdateIp>sample string 10</UpdateIp>
<UpdateUser>9</UpdateUser>
</MedAidSubscriptDefUpdateVM>
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.