POST api/MedAidMemberReg/Save
Request Information
URI Parameters
None.
Body Parameters
MedAidMemberRegSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| MemberRefNo | string |
Required String length: inclusive between 0 and 20 |
|
| Category | MedAidCategoryLookupVM |
Required |
|
| Member | MedAidMember |
Required |
|
| MedAidType | MedAidTypeLookupVM |
Required |
|
| JoinDate | string |
Required |
|
| ExistsIllness | string |
Required Matching regular expression pattern: Y|N |
|
| Period | MedAidPeriodLookupVM |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|C |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| FinYearId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"MemberRefNo": "sample string 2",
"Category": {
"CategoryId": 1,
"CategoryName": "sample string 2"
},
"Member": {
"MemberId": 1,
"MemberName": "sample string 2",
"MemberCode": "sample string 3"
},
"MedAidType": {
"TypeId": 1,
"TypeName": "sample string 2"
},
"JoinDate": "sample string 3",
"ExistsIllness": "sample string 4",
"Period": {
"PeriodId": 1,
"PeriodName": "sample string 2"
},
"Status": "sample string 5",
"CreateUser": 6,
"CreateIp": "sample string 7",
"FinYearId": 8
}
application/xml, text/xml
Sample:
<MedAidMemberRegSaveVM 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>
<CreateIp>sample string 7</CreateIp>
<CreateUser>6</CreateUser>
<ExistsIllness>sample string 4</ExistsIllness>
<FinYearId>8</FinYearId>
<JoinDate>sample string 3</JoinDate>
<MedAidType>
<TypeId>1</TypeId>
<TypeName>sample string 2</TypeName>
</MedAidType>
<Member>
<MemberCode>sample string 3</MemberCode>
<MemberId>1</MemberId>
<MemberName>sample string 2</MemberName>
</Member>
<MemberRefNo>sample string 2</MemberRefNo>
<Period>
<PeriodId>1</PeriodId>
<PeriodName>sample string 2</PeriodName>
</Period>
<Status>sample string 5</Status>
</MedAidMemberRegSaveVM>
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.