Home Policy
Create a new policy on the platform. There are several policies available. The following are the policies. In creating the policy for the product, there are some credentials needed for the respective policies. These required credentials are highlighted in the subsection below.
This endpoint allows you to create a policy.
POST /api/v1/client/policies
Headers
authorization : bearer token
session : client session token
Body param
Request Sample
policyNo | string Optional policy number |
coverageType | string Optional coverage type for the policy. It is automatically derived from product information (if any) |
generateInvoice | boolean Default: true Whether the system should auto generate a debit after creating the policy |
currency required | string Policy currency code. Refer to |
startDate required | string Policy start date in |
endDate required | string Policy end date in |
productId required | string Product id of the policy |
oldPolicyId | string The id of the old policy, if any. |
clientId | string Client Id. Optional if policy is created by a client |
originatingStaffId | string The staff who sold the policy to the client. If null, currently logged in staff will be used. |
notes | string Additional notes about the policy |
premium required | number >= 1 Policy premium |
exchangeRate | number >= 0 Default: 1 Currency exchange rate |
businessType required | string Enum: "NEW_BUSINESS" "CROSS_SELLING" "RENEWAL" "EXTENSION" Policy business type |
businessCategory | string Default: "LOCAL" Enum: "LOCAL" "GLOBAL" Business category of the policy. Default is |
coverType | string Provided |
policyType | string Enum: "AUTO" "BANKERS_INDEMNITY" "BLANKET_BOND" "BONDS" "BOILER_OR_PRESSURE_VESSEL" "BURGLARY" "BUSINESS_INTERRUPTION" "MONEY" "DIRECTORS_OFFICERS_LIABILITY" "ELECTRONIC_EQUIPMENT" "EMPLOYERS_LIABILITY" "ERECTION_ALL_RISKS" "CONTRACTORS_ALL_RISKS" "FIDELITY_GUARANTEE" "GENERAL_LIABILITY" "GOODS_IN_TRANSIT" "GROUP_PERSONAL_ACCIDENT" "HOME" "MARINE" "PERSONAL_ACCIDENT" "PLANT_ALL_RISKS" "PLANT_AND_MACHINERY" "PROFESSIONAL_INDEMNITY" "PROPERTY_DAMAGE" "PUBLIC_LIABILITY" "TRAVEL" "AVIATION" "WORKMENS_COMPENSATION" "FIRE_AND_ALLIED_PERILS" "ASSETS_ALL_RISKS" "AGRICULTURAL" "STOCK_DETERIORATION" "MOTOR_TRADERS" "LIFE" "GROUP_LIFE_PERSONAL_ACCIDENT" "GROUP_LIFE" "GROUP_FUNERAL" "HEALTH" "PENSION" Type of policy |
object Additional information about the policy | |
groupId | string Id of the group which the policy belongs to |
required | Array of objects (HomeAssetDto) Home policy assets details |
{- "policyNo": "POL-0012",
- "coverageType": "MOTOR_COMPREHENSIVE",
- "generateInvoice": true,
- "currency": "GHS",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-12-01T00:00:00.000Z",
- "productId": "619c0911b46b424f5f3e470f",
- "oldPolicyId": "619c0911b46b424f5f3e470f",
- "clientId": "619c0911b46b424f5f3e470f",
- "originatingStaffId": "619c0911b46b424f5f3e470f",
- "notes": "This is an auto insurance policy. It covers a car.",
- "premium": 5000,
- "exchangeRate": 1,
- "businessType": "NEW_BUSINESS",
- "businessCategory": "LOCAL",
- "coverType": "COMPREHENSIVE",
- "policyType": "AUTO",
- "additionalInformation": {
- "formSerialNumber": "AAFE123456789"
}, - "groupId": "63403b8a088f7a3cd5f8e717",
- "assets": [
- {
- "sumInsured": 100000,
- "coverType": "COMPREHENSIVE",
- "usage": "PRIVATE",
- "description": "lorem ipsum dolor sit amet consectetur adipiscing elit",
- "premium": 1000,
- "location": "Kampala"
}
]
}
Response Sample
policyNo | string Optional policy number |
coverageType | string Optional coverage type for the policy. It is automatically derived from product information (if any) |
generateInvoice | boolean Default: true Whether the system should auto generate a debit after creating the policy |
currency required | string Policy currency code. Refer to |
startDate required | string Policy start date in |
endDate required | string Policy end date in |
oldPolicyId | string The id of the old policy, if any. |
originatingStaffId | string The staff who sold the policy to the client. If null, currently logged in staff will be used. |
notes | string Additional notes about the policy |
premium required | number >= 1 Policy premium |
exchangeRate | number >= 0 Default: 1 Currency exchange rate |
businessType required | string Enum: "NEW_BUSINESS" "CROSS_SELLING" "RENEWAL" "EXTENSION" Policy business type |
businessCategory | string Default: "LOCAL" Enum: "LOCAL" "GLOBAL" Business category of the policy. Default is |
coverType | string Provided |
policyType | string Enum: "AUTO" "BANKERS_INDEMNITY" "BLANKET_BOND" "BONDS" "BOILER_OR_PRESSURE_VESSEL" "BURGLARY" "BUSINESS_INTERRUPTION" "MONEY" "DIRECTORS_OFFICERS_LIABILITY" "ELECTRONIC_EQUIPMENT" "EMPLOYERS_LIABILITY" "ERECTION_ALL_RISKS" "CONTRACTORS_ALL_RISKS" "FIDELITY_GUARANTEE" "GENERAL_LIABILITY" "GOODS_IN_TRANSIT" "GROUP_PERSONAL_ACCIDENT" "HOME" "MARINE" "PERSONAL_ACCIDENT" "PLANT_ALL_RISKS" "PLANT_AND_MACHINERY" "PROFESSIONAL_INDEMNITY" "PROPERTY_DAMAGE" "PUBLIC_LIABILITY" "TRAVEL" "AVIATION" "WORKMENS_COMPENSATION" "FIRE_AND_ALLIED_PERILS" "ASSETS_ALL_RISKS" "AGRICULTURAL" "STOCK_DETERIORATION" "MOTOR_TRADERS" "LIFE" "GROUP_LIFE_PERSONAL_ACCIDENT" "GROUP_LIFE" "GROUP_FUNERAL" "HEALTH" "PENSION" Type of policy |
object Additional information about the policy | |
groupId | string Id of the group which the policy belongs to |
description | string Additional notes about the policy |
required | object Client information |
required | object Product information |
object The staff who created the policy on the system. | |
object Similar to | |
required | Array of objects (HomeAssetDto) Home policy assets details |
{- "policyNo": "POL-0012",
- "coverageType": "MOTOR_COMPREHENSIVE",
- "generateInvoice": true,
- "currency": "GHS",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-12-01T00:00:00.000Z",
- "oldPolicyId": "619c0911b46b424f5f3e470f",
- "originatingStaffId": "619c0911b46b424f5f3e470f",
- "notes": "This is an auto insurance policy. It covers a car.",
- "premium": 5000,
- "exchangeRate": 1,
- "businessType": "NEW_BUSINESS",
- "businessCategory": "LOCAL",
- "coverType": "COMPREHENSIVE",
- "policyType": "AUTO",
- "additionalInformation": {
- "formSerialNumber": "AAFE123456789"
}, - "groupId": "63403b8a088f7a3cd5f8e717",
- "description": "This is an auto insurance policy. It covers a car.",
- "client": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "companyName": "ABC Company",
- "email": "user@example.com",
- "country": "Ghana",
- "city": "Accra",
- "region": "Greater Accra",
- "digitalAddress": "CC-1334-332",
- "password": "password",
- "industry": "Agriculture",
- "address": "Dansoman Street 12, Accra, Ghana",
- "notes": "lorem ipusom",
- "dateOfIncorporation": "2006-12-15",
- "type": "CORPORATE",
- "groups": [
- "63403be1567f7e1f11c58bd6",
- "63403b8a088f7a3cd5f8e717"
], - "contactPersons": [
- {
- "phoneNumber": "+233248023456",
- "email": "user@example.com",
- "position": "Sales Manager",
- "name": "string"
}
], - "firstName": "John",
- "lastName": "Doe",
- "otherNames": "Wood",
- "title": "Mr",
- "gender": "Male",
- "age": 25,
- "fullName": "John Wood Doe",
- "isActive": true,
- "deliveryAddresses": [ ],
- "profileImage": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "contentType": "image/jpeg",
- "size": "12345",
- "name": "file-name.jpg"
}, - "createdBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "originatingStaff": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "policies": [
- {
- "policyNo": "POL-0012",
- "coverageType": "MOTOR_COMPREHENSIVE",
- "generateInvoice": true,
- "currency": "GHS",
- "startDate": "2020-01-01T00:00:00.000Z",
- "endDate": "2020-12-01T00:00:00.000Z",
- "oldPolicyId": "619c0911b46b424f5f3e470f",
- "originatingStaffId": "619c0911b46b424f5f3e470f",
- "notes": "This is an auto insurance policy. It covers a car.",
- "premium": 5000,
- "exchangeRate": 1,
- "businessType": "NEW_BUSINESS",
- "businessCategory": "LOCAL",
- "coverType": "COMPREHENSIVE",
- "policyType": "AUTO",
- "additionalInformation": {
- "formSerialNumber": "AAFE123456789"
}, - "groupId": "63403b8a088f7a3cd5f8e717",
- "description": "This is an auto insurance policy. It covers a car.",
- "product": {
- "name": "Motor Insurance",
- "code": "CLAGC",
- "description": "lorem ipsum dolor sit amet",
- "premiumRates": { },
- "category": "AUTO",
- "subCategory": "COMPREHENSIVE",
- "benefits": [
- "lorem ipsum dolor sit amet"
], - "otherCommission": {
- "value": 0.1,
- "type": "PERCENTAGE"
}, - "status": "ACTIVE",
- "distribution": "OFFLINE",
- "id": "619c0911b46b424f5f3e470f",
- "assignedTo": [
- {
- "subdomain": "transnational",
- "id": "619c0911b46b424f5f3e470f",
- "logo": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "contentType": "image/jpeg",
- "size": "12345",
- "name": "file-name.jpg"
}, - "name": "string",
- "email": "string",
- "type": "INSURER",
- "kind": "NON_LIFE",
- "description": "string",
- "primaryColor": "string",
- "shortName": "string"
}
], - "insurer": {
- "subdomain": "transnational",
- "id": "619c0911b46b424f5f3e470f",
- "logo": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "contentType": "image/jpeg",
- "size": "12345",
- "name": "file-name.jpg"
}, - "name": "string",
- "email": "string",
- "type": "INSURER",
- "kind": "NON_LIFE",
- "description": "string",
- "primaryColor": "string",
- "shortName": "string"
}, - "createdAt": "2020-05-05T00:00:00.000Z",
- "assignedAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "createdBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "assignedBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "standardCommission": {
- "value": 0.1,
- "type": "PERCENTAGE"
}, - "overriderCommission": {
- "value": 0.1,
- "type": "PERCENTAGE"
}
}, - "createdBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "originatingStaff": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}
}
], - "notifications": [ ],
- "taxpayerIdentificationNumber": "string",
- "phoneNumber": "stringstri",
- "dateOfBirth": "string",
- "identificationCard": {
- "idNumber": "123456789",
- "type": "GHANA_CARD",
- "issueDate": "string",
- "expiryDate": "string"
}
}, - "product": {
- "name": "Motor Insurance",
- "code": "CLAGC",
- "description": "lorem ipsum dolor sit amet",
- "premiumRates": { },
- "category": "AUTO",
- "subCategory": "COMPREHENSIVE",
- "benefits": [
- "lorem ipsum dolor sit amet"
], - "otherCommission": {
- "value": 0.1,
- "type": "PERCENTAGE"
}, - "status": "ACTIVE",
- "distribution": "OFFLINE",
- "id": "619c0911b46b424f5f3e470f",
- "assignedTo": [
- {
- "subdomain": "transnational",
- "id": "619c0911b46b424f5f3e470f",
- "logo": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "contentType": "image/jpeg",
- "size": "12345",
- "name": "file-name.jpg"
}, - "name": "string",
- "email": "string",
- "type": "INSURER",
- "kind": "NON_LIFE",
- "description": "string",
- "primaryColor": "string",
- "shortName": "string"
}
], - "insurer": {
- "subdomain": "transnational",
- "id": "619c0911b46b424f5f3e470f",
- "logo": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-01-01T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "contentType": "image/jpeg",
- "size": "12345",
- "name": "file-name.jpg"
}, - "name": "string",
- "email": "string",
- "type": "INSURER",
- "kind": "NON_LIFE",
- "description": "string",
- "primaryColor": "string",
- "shortName": "string"
}, - "createdAt": "2020-05-05T00:00:00.000Z",
- "assignedAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "createdBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "assignedBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "standardCommission": {
- "value": 0.1,
- "type": "PERCENTAGE"
}, - "overriderCommission": {
- "value": 0.1,
- "type": "PERCENTAGE"
}
}, - "createdBy": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "originatingStaff": {
- "id": "619c0911b46b424f5f3e470f",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "email": "janedoe@insurerity.com",
- "firstName": "Jane",
- "otherNames": "Wood",
- "lastName": "Doe",
- "phoneNumber": "janedoe@insurerity.com",
- "isActive": true,
- "type": "NORMAL_STAFF",
- "jobTitle": "Sales Manager",
- "position": "BRANCH_MANAGER",
- "address": "Fores hill Av.",
- "staffNo": "ACT-00123",
- "gender": "MALE",
- "dateOfBirth": "12/03/1990",
- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "fullName": "John Doe",
- "department": {
- "description": "Accra Dansoman new branch",
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "branch": {
- "id": "619fe0d0a6cda53de437178b",
- "createdAt": "2020-05-05T00:00:00.000Z",
- "updatedAt": "2020-05-05T00:00:00.000Z",
- "name": "Accra Branch",
- "address": "Accra, Ghana",
- "description": "Our new branch in Accra"
}, - "name": "Accra Dansoman Branch"
}, - "notifications": [ ]
}, - "assets": [
- {
- "sumInsured": 100000,
- "coverType": "COMPREHENSIVE",
- "usage": "PRIVATE",
- "description": "lorem ipsum dolor sit amet consectetur adipiscing elit",
- "premium": 1000,
- "location": "Kampala"
}
]
}