/
home
/
infinitibizsol
/
insurcrm.infinitibizsol.com
/
docs
/
policy
/
File Upload :
llllll
Current File: /home/infinitibizsol/insurcrm.infinitibizsol.com/docs/policy/contractorUnderwriting.js
/** * @swagger * components: * schemas: * ContractorUnderwriting: * type: object * properties: * number_of_full_time_staff: * type: string * number_of_part_time_staff: * type: string * percent_of_work_subcontracted: * type: string * work_contracted: * type: string * dollars_paid_to_subcontractors: * type: string * employee_oversight_radius: * type: string * roofing_percent: * type: string * renovation_percent: * type: string * maximum_excavation_depth: * type: string * grading_percent: * type: string * tree_trimming_percent: * type: string * snowplowing_percent: * type: string * painting_inside_percent: * type: string * painting_outside_percent: * type: string * scaffolding_height: * type: string * exterior_spray_percent: * type: string * commercial_roofing_percent: * type: string * residential_roofing_percent: * type: string * total_percent_work_residential: * type: string * total_percent_work_commercial: * type: string * new_construction_percent: * type: string * remodel_percent: * type: string * subcontractor_minimum_gl_limit_per_occurrence: * type: string * subcontractor_minimum_gl_limit_aggregate: * type: string * policy_id: * type: string * format: objectId * example: * number_of_full_time_staff: "10" * number_of_part_time_staff: "5" * percent_of_work_subcontracted: "20" * work_contracted: "Building construction" * dollars_paid_to_subcontractors: "50000" * employee_oversight_radius: "50 miles" * roofing_percent: "15" * renovation_percent: "25" * maximum_excavation_depth: "10 feet" * grading_percent: "30" * tree_trimming_percent: "5" * snowplowing_percent: "10" * painting_inside_percent: "20" * painting_outside_percent: "15" * scaffolding_height: "30 feet" * exterior_spray_percent: "10" * commercial_roofing_percent: "40" * residential_roofing_percent: "60" * total_percent_work_residential: "55" * total_percent_work_commercial: "45" * new_construction_percent: "70" * remodel_percent: "30" * subcontractor_minimum_gl_limit_per_occurrence: "1000000" * subcontractor_minimum_gl_limit_aggregate: "2000000" * 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: ContractorUnderwriting * description: Operations related to contractor underwriting information */ /** * @swagger * /contractor-underwriting/list: * get: * summary: Returns the list of binder information * tags: [ContractorUnderwriting] * 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/ContractorUnderwriting' */ /** * @swagger * /contractor-underwriting/add: * post: * summary: Create a new binder information entry * tags: [ContractorUnderwriting] * security: * - bearerAuth: [] * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/ContractorUnderwriting' * responses: * 201: * description: The binder information entry was successfully created * content: * application/json: * schema: * $ref: '#/components/schemas/ContractorUnderwriting' */ /** * @swagger * /contractor-underwriting/edit/{id}: * put: * summary: Update the contractor underwriting entry by ID * tags: [ContractorUnderwriting] * security: * - bearerAuth: [] * parameters: * - in: path * name: id * schema: * type: string * required: true * description: The ID of the contractor underwriting entry * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/ContractorUnderwriting' * responses: * 200: * description: The contractor underwriting entry was successfully updated * content: * application/json: * schema: * $ref: '#/components/schemas/UpdateResponse' */ /** * @swagger * /contractor-underwriting/delete/{id}: * delete: * summary: Delete the contractor underwriting entry by ID * tags: [ContractorUnderwriting] * security: * - bearerAuth: [] * parameters: * - in: path * name: id * schema: * type: string * required: true * description: The ID of the contractor underwriting entry * responses: * 200: * description: The contractor underwriting entry was successfully deleted * content: * application/json: * schema: * $ref: '#/components/schemas/DeleteResponse' */ "use strict";
Copyright ©2k19 -
Hexid
|
Tex7ure