openapi: 3.0.0 info: version: 1.0.0 title: AddtionalContact description: AddtionalContact API V1 servers: - url: https://hexapi.example.com description: API Server Description paths: /provider/additionalcontact: post: operationId: AddAdditionalContact tags: - AdditionalContact summary: Add AdditionalContact description: Description of path requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AddtionalContactsDTO' responses: '200': description: AdditionalContact added successfully content: application/json: schema: type: integer put: operationId: UpdateAdditionalContact tags: - AdditionalContact summary: Update AdditionalContact description: Description of path requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AddtionalContactsDTO' responses: '200': description: AdditionalContact updated successfully content: application/json: schema: type: integer delete: operationId: DeleteAdditionalContact tags: - AdditionalContact summary: Delete AdditionalContact description: Description of path parameters: - $ref: '#/components/parameters/AdditionalContactIDQueryParam' - $ref: '#/components/parameters/DebugFlagQueryParam' responses: '200': description: AdditionalContact deleted successfully content: application/json: schema: type: integer /provider/additionalcontactshistory: get: operationId: GetAdditionalContactsHistory tags: - AdditionalContact summary: Get AdditionalContactsHistory description: Description of path parameters: - $ref: '#/components/parameters/AdditionalContactIdQueryParam' - $ref: '#/components/parameters/EntityIdQueryParam' - $ref: '#/components/parameters/EntityTypeQueryParam' - $ref: '#/components/parameters/UsageQueryParam' responses: '200': description: AdditionalContactsHistory retrieved successfully content: application/json: schema: type: array items: $ref: '#/components/schemas/AdditionalContactsHistoryListDTO' components: schemas: AddtionalContactsDTO: title : AddtionalContactsDTO type: object properties: OfficeId: type: integer nullable: true VendorId: type: integer nullable: true ProviderId: type: integer nullable: true RiskGroupId: type: integer nullable: true AdditionalContactID: type: integer nullable: true Class: type: string nullable: true Subclass: type: string nullable: true Name: type: string nullable: true Title: type: string nullable: true Department: type: string nullable: true Phone: type: string nullable: true Extension: type: string nullable: true Fax: type: string nullable: true Email: type: string nullable: true Description: type: string nullable: true EffectiveDate: type: string nullable: true ExpirationDate: type: string nullable: true Usage: type: string nullable: true AdditionalContactsHistoryListDTO: title : AdditionalContactsHistoryListDTO type: object properties: HistoryID: type: integer nullable: true ChangedBy: type: integer nullable: true ChangeAt: type: string format: date-time ChangeTypeCode: type: string ChangeType: type: string nullable: true ProcedureName: type: string AdditionalContactId: type: integer nullable: true EntityId: type: integer nullable: true EntityTypeName: type: string nullable: true EntityType: type: string Class: type: string ClassName: type: string nullable: true Subclass: type: string SubclassName: type: string nullable: true Name: type: string Title: type: string nullable: true TitleName: type: string nullable: true Department: type: string nullable: true DepartmentName: type: string nullable: true Phone: type: string nullable: true Extension: type: string nullable: true Fax: type: string nullable: true Email: type: string nullable: true Description: type: string nullable: true EffectiveDate: type: string format: date-time ExpirationDate: type: string format: date-time LastUpdatedBy: type: integer nullable: true LastUpdatedAt: type: string format: date-time LastUpdatedByName: type: string nullable: true ChangedByName: type: string nullable: true parameters: AdditionalContactIDQueryParam: in: query name: AdditionalContactID required: false schema: type: integer description: description of parameter passed DebugFlagQueryParam: in: query name: DebugFlag required: false schema: type: integer description: description of parameter passed AdditionalContactIdQueryParam: in: query name: AdditionalContactId required: false schema: type: integer description: description of parameter passed EntityIdQueryParam: in: query name: EntityId required: false schema: type: integer description: description of parameter passed EntityTypeQueryParam: in: query name: EntityType required: false schema: type: integer description: description of parameter passed UsageQueryParam: in: query name: Usage required: false schema: type: string default: "|Init|" description: description of parameter passed