/
home
/
infinitibizsol
/
.trash
/
docs.2
/
policy
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/docs.2/policy/priorPolicyInfo.js
/** * @swagger * components: * schemas: * PriorPolicyInfo: * type: object * properties: * no_prior_insurance: * type: boolean * policy_no: * type: string * line_of_business: * type: string * subline: * type: string * writing_carrier: * type: string * mga: * type: string * parent_carrier: * type: string * inception_date: * type: string * format: date * expiration_date: * type: string * format: date * full_term_premium: * type: string * policy_year: * type: string * years_with_prior_company: * type: string * prior_carrier_amount_of_coverage: * type: string * liability_per_person_amount: * type: string * liability_per_accident_amount: * type: string * total_paid_loss_amount: * type: string * reserve_total_amount: * type: string * policy_terminated_reason: * type: string * policy_terminated_for: * type: string * producer_name: * type: string * clue_reference_no: * type: string * continuity_date: * type: string * format: date * policy_transformed: * type: boolean * policy_id: * type: string * format: objectId * example: * no_prior_insurance: false * policy_no: "PN-2022" * line_of_business: "Auto Insurance" * subline: "Personal Auto" * writing_carrier: "ABC Insurance" * mga: "XYZ Agency" * parent_carrier: "Parent Corp" * inception_date: "2022-01-01" * expiration_date: "2023-01-01" * full_term_premium: "$1200" * policy_year: "2022" * years_with_prior_company: "5" * prior_carrier_amount_of_coverage: "$500,000" * liability_per_person_amount: "$100,000" * liability_per_accident_amount: "$300,000" * total_paid_loss_amount: "$10,000" * reserve_total_amount: "$5,000" * policy_terminated_reason: "Non-Payment" * policy_terminated_for: "Customer Request" * producer_name: "John Doe" * clue_reference_no: "CLUE123456" * continuity_date: "2017-01-01" * policy_transformed: true * policy_id: "605c72ef8f1b2e478c5e841e" * * UpdateResponse: * type: object * properties: * message: * type: string * example: "Data updated successfully" * * DeleteResponse: * type: object * properties: * message: * type: string * example: "Entry and related data deleted successfully" * * securitySchemes: * bearerAuth: * type: http * scheme: bearer * bearerFormat: JWT */ /** * @swagger * tags: * - name: PriorPolicyInfo * description: Operations related to prior policy information */ /** * @swagger * /prior-policy-info/list: * get: * summary: Returns the list of binder information * tags: [PriorPolicyInfo] * security: * - bearerAuth: [] * parameters: * - in: query * name: policy_id * schema: * type: string * required: true * description: ID of the policy * responses: * 200: * description: The list of binder information * content: * application/json: * schema: * type: array * items: * $ref: '#/components/schemas/PriorPolicyInfo' */ /** * @swagger * /prior-policy-info/add: * post: * summary: Create a new binder information entry * tags: [PriorPolicyInfo] * security: * - bearerAuth: [] * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/PriorPolicyInfo' * responses: * 201: * description: The binder information entry was successfully created * content: * application/json: * schema: * $ref: '#/components/schemas/PriorPolicyInfo' */ /** * @swagger * /prior-policy-info/edit/{id}: * put: * summary: Update the prior policy information entry by ID * tags: [PriorPolicyInfo] * security: * - bearerAuth: [] * parameters: * - in: path * name: id * schema: * type: string * required: true * description: The ID of the prior policy information entry * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/PriorPolicyInfo' * responses: * 200: * description: The prior policy information entry was successfully updated * content: * application/json: * schema: * $ref: '#/components/schemas/UpdateResponse' */ /** * @swagger * /prior-policy-info/delete/{id}: * delete: * summary: Delete the prior policy information entry by ID * tags: [PriorPolicyInfo] * security: * - bearerAuth: [] * parameters: * - in: path * name: id * schema: * type: string * required: true * description: The ID of the prior policy information entry * responses: * 200: * description: The prior policy information entry was successfully deleted * content: * application/json: * schema: * $ref: '#/components/schemas/DeleteResponse' */ "use strict";
Copyright ©2k19 -
Hexid
|
Tex7ure