POST api/term/bimafy/policyInsert

Request Information

URI Parameters

None.

Body Parameters

PolicyIssueRequest
NameDescriptionTypeAdditional information
PolicyHolder

PolicyHolderInfo

None.

Nominee

NomineeInfo

None.

ProductPlan

ProductPlanInfo

None.

Dependents

Collection of DependentDetailItem

None.

Transaction

TransactionInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyHolder": {
    "Name": "sample string 1",
    "NIDNo": "sample string 2",
    "DateOfBirth": "2026-05-21T10:51:01.730803+06:00",
    "Age": 1,
    "Gender": "sample string 3",
    "MobileNo": "sample string 4",
    "PresentAddress": "sample string 5",
    "Permanent_Address": "sample string 6",
    "FathersName": "sample string 7",
    "MothersName": "sample string 8",
    "MailID": "sample string 9",
    "Occupation": "sample string 10",
    "IdentityType": "sample string 11",
    "BusinessType": "sample string 12"
  },
  "Nominee": {
    "Name": "sample string 1",
    "Relationship": "sample string 2",
    "DateOfBirth": "2026-05-21T10:51:01.7318013+06:00",
    "MobileNo": "sample string 3",
    "IdentityType": "sample string 4",
    "NIDNo": "sample string 5",
    "NomineeAge": 1,
    "GuardianName": "sample string 6",
    "GuardianDOB": "2026-05-21T10:51:01.7318013+06:00",
    "GuardianNID": "sample string 7",
    "GuardianContact": "sample string 8",
    "ReleationWithNominee": "sample string 9"
  },
  "ProductPlan": {
    "ProductName": "sample string 1",
    "PlanCode": 1,
    "Term": 1,
    "PaymentMode": "sample string 2",
    "SumAssured": 1.0,
    "Premium": 1.0
  },
  "Dependents": [
    {
      "DependentType": "sample string 1",
      "DependentName": "sample string 2",
      "DependentDateOfBirth": "sample string 3",
      "DependentIdentityType": "sample string 4",
      "DependentNID": "sample string 5",
      "DependentGender": "sample string 6",
      "DependentRel": "sample string 7"
    },
    {
      "DependentType": "sample string 1",
      "DependentName": "sample string 2",
      "DependentDateOfBirth": "sample string 3",
      "DependentIdentityType": "sample string 4",
      "DependentNID": "sample string 5",
      "DependentGender": "sample string 6",
      "DependentRel": "sample string 7"
    }
  ],
  "Transaction": {
    "WalletNo": "sample string 1",
    "TrxID": "sample string 2",
    "Amount": 1.0,
    "AdditionalInfo": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<PolicyIssueRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BimafyAPI.Models">
  <Dependents>
    <DependentDetailItem>
      <DependentDateOfBirth>sample string 3</DependentDateOfBirth>
      <DependentGender>sample string 6</DependentGender>
      <DependentIdentityType>sample string 4</DependentIdentityType>
      <DependentNID>sample string 5</DependentNID>
      <DependentName>sample string 2</DependentName>
      <DependentRel>sample string 7</DependentRel>
      <DependentType>sample string 1</DependentType>
    </DependentDetailItem>
    <DependentDetailItem>
      <DependentDateOfBirth>sample string 3</DependentDateOfBirth>
      <DependentGender>sample string 6</DependentGender>
      <DependentIdentityType>sample string 4</DependentIdentityType>
      <DependentNID>sample string 5</DependentNID>
      <DependentName>sample string 2</DependentName>
      <DependentRel>sample string 7</DependentRel>
      <DependentType>sample string 1</DependentType>
    </DependentDetailItem>
  </Dependents>
  <Nominee>
    <DateOfBirth>2026-05-21T10:51:01.7318013+06:00</DateOfBirth>
    <GuardianContact>sample string 8</GuardianContact>
    <GuardianDOB>2026-05-21T10:51:01.7318013+06:00</GuardianDOB>
    <GuardianNID>sample string 7</GuardianNID>
    <GuardianName>sample string 6</GuardianName>
    <IdentityType>sample string 4</IdentityType>
    <MobileNo>sample string 3</MobileNo>
    <NIDNo>sample string 5</NIDNo>
    <Name>sample string 1</Name>
    <NomineeAge>1</NomineeAge>
    <Relationship>sample string 2</Relationship>
    <ReleationWithNominee>sample string 9</ReleationWithNominee>
  </Nominee>
  <PolicyHolder>
    <Age>1</Age>
    <BusinessType>sample string 12</BusinessType>
    <DateOfBirth>2026-05-21T10:51:01.730803+06:00</DateOfBirth>
    <FathersName>sample string 7</FathersName>
    <Gender>sample string 3</Gender>
    <IdentityType>sample string 11</IdentityType>
    <MailID>sample string 9</MailID>
    <MobileNo>sample string 4</MobileNo>
    <MothersName>sample string 8</MothersName>
    <NIDNo>sample string 2</NIDNo>
    <Name>sample string 1</Name>
    <Occupation>sample string 10</Occupation>
    <Permanent_Address>sample string 6</Permanent_Address>
    <PresentAddress>sample string 5</PresentAddress>
  </PolicyHolder>
  <ProductPlan>
    <PaymentMode>sample string 2</PaymentMode>
    <PlanCode>1</PlanCode>
    <Premium>1</Premium>
    <ProductName>sample string 1</ProductName>
    <SumAssured>1</SumAssured>
    <Term>1</Term>
  </ProductPlan>
  <Transaction>
    <AdditionalInfo>sample string 3</AdditionalInfo>
    <Amount>1</Amount>
    <TrxID>sample string 2</TrxID>
    <WalletNo>sample string 1</WalletNo>
  </Transaction>
</PolicyIssueRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.