POST api/enrollee?referenceNo={referenceNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| referenceNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
createHealthPolicyResult| Name | Description | Type | Additional information |
|---|---|---|---|
| enrolleeNo | string |
None. |
|
| debiteNote | string |
None. |
|
| success | boolean |
None. |
|
| errorMsg | string |
None. |
|
| premium | decimal number |
None. |
|
| webE_IDCard | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"enrolleeNo": "sample string 1",
"debiteNote": "sample string 2",
"success": true,
"errorMsg": "sample string 4",
"premium": 5.0,
"webE_IDCard": "sample string 6"
}
application/xml, text/xml
Sample:
<createHealthPolicyResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.createHealthPolicy"> <debiteNote>sample string 2</debiteNote> <enrolleeNo>sample string 1</enrolleeNo> <errorMsg>sample string 4</errorMsg> <premium>5</premium> <success>true</success> <webE_IDCard>sample string 6</webE_IDCard> </createHealthPolicyResult>
text/html
Sample:
{"enrolleeNo":"sample string 1","debiteNote":"sample string 2","success":true,"errorMsg":"sample string 4","premium":5.0,"webE_IDCard":"sample string 6"}