POST api/dependent/add-rated

Request Information

URI Parameters

None.

Body Parameters

Collection of DependentModel
NameDescriptionTypeAdditional information
PolicyDependentId

integer

None.

PolicyId

integer

None.

FirstName

string

None.

MiddleNames

string

None.

Surname

string

None.

RelationshipId

integer

None.

RelationshipToPolicyHolder

string

None.

IdentificationTypeId

integer

None.

IdentificationNo

string

None.

DateOfBirth

date

None.

GenderId

integer

None.

ContactNo

string

None.

ConcurrencyCheck

integer

None.

ProofOfRelationshipSubmitted

boolean

None.

ProofOfRelationshipDocuments

Collection of Collection of byte

None.

Document

DocumentModel

None.

DoctorName

string

None.

DoctorContactNo

string

None.

PolicyDependentOverAgeOptionId

integer

None.

UpdateDt

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "policyDependentId": 1,
    "policyId": 1,
    "firstName": "sample string 2",
    "middleNames": "sample string 3",
    "surname": "sample string 4",
    "relationshipId": 1,
    "relationshipToPolicyHolder": "sample string 5",
    "identificationTypeId": 1,
    "identificationNo": "sample string 6",
    "dateOfBirth": "2025-12-06T06:56:29.3177397+02:00",
    "genderId": 1,
    "contactNo": "sample string 7",
    "concurrencyCheck": 8,
    "proofOfRelationshipSubmitted": true,
    "proofOfRelationshipDocuments": [
      "QEA=",
      "QEA="
    ],
    "document": {
      "importDocument": true,
      "documentTypeId": 1,
      "tableId": 1,
      "key": 1,
      "fileName": "sample string 2",
      "fileData": "QEA="
    },
    "doctorName": "sample string 10",
    "doctorContactNo": "sample string 11",
    "policyDependentOverAgeOptionId": 1,
    "updateDt": "2025-12-06T06:56:29.3177397+02:00"
  },
  {
    "policyDependentId": 1,
    "policyId": 1,
    "firstName": "sample string 2",
    "middleNames": "sample string 3",
    "surname": "sample string 4",
    "relationshipId": 1,
    "relationshipToPolicyHolder": "sample string 5",
    "identificationTypeId": 1,
    "identificationNo": "sample string 6",
    "dateOfBirth": "2025-12-06T06:56:29.3177397+02:00",
    "genderId": 1,
    "contactNo": "sample string 7",
    "concurrencyCheck": 8,
    "proofOfRelationshipSubmitted": true,
    "proofOfRelationshipDocuments": [
      "QEA=",
      "QEA="
    ],
    "document": {
      "importDocument": true,
      "documentTypeId": 1,
      "tableId": 1,
      "key": 1,
      "fileName": "sample string 2",
      "fileData": "QEA="
    },
    "doctorName": "sample string 10",
    "doctorContactNo": "sample string 11",
    "policyDependentOverAgeOptionId": 1,
    "updateDt": "2025-12-06T06:56:29.3177397+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDependentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models">
  <DependentModel>
    <ConcurrencyCheck>8</ConcurrencyCheck>
    <ContactNo>sample string 7</ContactNo>
    <DateOfBirth>2025-12-06T06:56:29.3177397+02:00</DateOfBirth>
    <DoctorContactNo>sample string 11</DoctorContactNo>
    <DoctorName>sample string 10</DoctorName>
    <Document>
      <DocumentTypeId>1</DocumentTypeId>
      <FileData>QEA=</FileData>
      <FileName>sample string 2</FileName>
      <ImportDocument>true</ImportDocument>
      <Key>1</Key>
      <TableId>1</TableId>
    </Document>
    <FirstName>sample string 2</FirstName>
    <GenderId>1</GenderId>
    <IdentificationNo>sample string 6</IdentificationNo>
    <IdentificationTypeId>1</IdentificationTypeId>
    <MiddleNames>sample string 3</MiddleNames>
    <PolicyDependentId>1</PolicyDependentId>
    <PolicyDependentOverAgeOptionId>1</PolicyDependentOverAgeOptionId>
    <PolicyId>1</PolicyId>
    <ProofOfRelationshipDocuments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:base64Binary>QEA=</d3p1:base64Binary>
      <d3p1:base64Binary>QEA=</d3p1:base64Binary>
    </ProofOfRelationshipDocuments>
    <ProofOfRelationshipSubmitted>true</ProofOfRelationshipSubmitted>
    <RelationshipId>1</RelationshipId>
    <RelationshipToPolicyHolder>sample string 5</RelationshipToPolicyHolder>
    <Surname>sample string 4</Surname>
    <UpdateDt>2025-12-06T06:56:29.3177397+02:00</UpdateDt>
  </DependentModel>
  <DependentModel>
    <ConcurrencyCheck>8</ConcurrencyCheck>
    <ContactNo>sample string 7</ContactNo>
    <DateOfBirth>2025-12-06T06:56:29.3177397+02:00</DateOfBirth>
    <DoctorContactNo>sample string 11</DoctorContactNo>
    <DoctorName>sample string 10</DoctorName>
    <Document>
      <DocumentTypeId>1</DocumentTypeId>
      <FileData>QEA=</FileData>
      <FileName>sample string 2</FileName>
      <ImportDocument>true</ImportDocument>
      <Key>1</Key>
      <TableId>1</TableId>
    </Document>
    <FirstName>sample string 2</FirstName>
    <GenderId>1</GenderId>
    <IdentificationNo>sample string 6</IdentificationNo>
    <IdentificationTypeId>1</IdentificationTypeId>
    <MiddleNames>sample string 3</MiddleNames>
    <PolicyDependentId>1</PolicyDependentId>
    <PolicyDependentOverAgeOptionId>1</PolicyDependentOverAgeOptionId>
    <PolicyId>1</PolicyId>
    <ProofOfRelationshipDocuments xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:base64Binary>QEA=</d3p1:base64Binary>
      <d3p1:base64Binary>QEA=</d3p1:base64Binary>
    </ProofOfRelationshipDocuments>
    <ProofOfRelationshipSubmitted>true</ProofOfRelationshipSubmitted>
    <RelationshipId>1</RelationshipId>
    <RelationshipToPolicyHolder>sample string 5</RelationshipToPolicyHolder>
    <Surname>sample string 4</Surname>
    <UpdateDt>2025-12-06T06:56:29.3177397+02:00</UpdateDt>
  </DependentModel>
</ArrayOfDependentModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DependentModel[]'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.