/
home
/
infinitibizsol
/
.trash
/
docs.2
/
policy
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/docs.2/policy/commercialAdditionalInfo.js
/** * @swagger * components: * schemas: * CommercialAdditionalInfo: * type: object * properties: * controlling_state: * type: string * state_of_incorporation: * type: string * us_based_operation: * type: boolean * type_of_business: * type: string * description_of_business: * type: string * date_business_started: * type: string * years_in_business: * type: string * subject_to_audit: * type: boolean * subsidiary_of_another_company: * type: string * owner_has_subsidiaries: * type: string * formal_safety_program: * type: string * subject_to_catastrophe: * type: boolean * hazardous_materials: * type: boolean * counter_signature: * type: string * sic_code: * type: string * policy_type: * type: string * nature_of_employee: * type: string * general_liability_code: * type: string * naics_code: * type: string * percentage_owned: * type: string * cancellation_reason: * type: string * condition_corrected: * type: boolean * insured_operation: * type: string * business_acquired: * type: string * reporting_period: * type: string * fiscal_year_start_date: * type: string * policy_id: * type: string * format: objectId * example: * controlling_state: "CA" * state_of_incorporation: "DE" * us_based_operation: true * type_of_business: "Retail" * description_of_business: "A chain of retail stores specializing in electronics" * date_business_started: "2010-03-15" * years_in_business: "12" * subject_to_audit: true * subsidiary_of_another_company: "Tech Holdings Inc." * owner_has_subsidiaries: "No" * formal_safety_program: "Yes" * subject_to_catastrophe: false * hazardous_materials: false * counter_signature: "John Doe" * sic_code: "5731" * policy_type: "General Liability" * nature_of_employee: "Full-time and Part-time" * general_liability_code: "1234" * naics_code: "443142" * percentage_owned: "100%" * cancellation_reason: "Business Closure" * condition_corrected: true * insured_operation: "Store Operations" * business_acquired: "No" * reporting_period: "Quarterly" * fiscal_year_start_date: "2023-01-01" * 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: CommercialAdditionalInfo * description: Operations related to commercial additional information */ /** * @swagger * /commercial-additional-info/list: * get: * summary: Returns the list of binder information * tags: [CommercialAdditionalInfo] * 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/CommercialAdditionalInfo' */ /** * @swagger * /commercial-additional-info/add: * post: * summary: Create a new binder information entry * tags: [CommercialAdditionalInfo] * security: * - bearerAuth: [] * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/CommercialAdditionalInfo' * responses: * 201: * description: The binder information entry was successfully created * content: * application/json: * schema: * $ref: '#/components/schemas/CommercialAdditionalInfo' */ /** * @swagger * /commercial-additional-info/edit/{id}: * put: * summary: Update the commercial additional info entry by ID * tags: [CommercialAdditionalInfo] * security: * - bearerAuth: [] * parameters: * - in: path * name: id * schema: * type: string * required: true * description: The ID of the commercial additional info entry * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/CommercialAdditionalInfo' * responses: * 200: * description: The commercial additional info entry was successfully updated * content: * application/json: * schema: * $ref: '#/components/schemas/UpdateResponse' */ /** * @swagger * /commercial-additional-info/delete/{id}: * delete: * summary: Delete the commercial additional info entry by ID * tags: [CommercialAdditionalInfo] * security: * - bearerAuth: [] * parameters: * - in: path * name: id * schema: * type: string * required: true * description: The ID of the commercial additional info entry * responses: * 200: * description: The commercial additional info entry was successfully deleted * content: * application/json: * schema: * $ref: '#/components/schemas/DeleteResponse' */ "use strict";
Copyright ©2k19 -
Hexid
|
Tex7ure