openapi: 3.2.0 info: version: v8 title: Maintenance Connection REST Work Order Misc Cost Estimates… servers: - url: https://api.maintenanceconnection.com:80/v8 tags: - name: WorkOrderMiscCostEstimates paths: /WorkOrders/{workOrderPK}/MiscEstimates/{costPK}: get: tags: - WorkOrderMiscCostEstimates operationId: WorkOrderMiscCostEstimates_Get parameters: - name: workOrderPK in: path required: true schema: type: integer format: int32 - name: costPK in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ApiResponse' text/json: schema: $ref: '#/components/schemas/ApiResponse' application/xml: schema: $ref: '#/components/schemas/ApiResponse' text/xml: schema: $ref: '#/components/schemas/ApiResponse' summary: Work order misc cost estimates get x-summary-source: derived put: tags: - WorkOrderMiscCostEstimates operationId: WorkOrderMiscCostEstimates_Put parameters: - name: workOrderPK in: path required: true schema: type: integer format: int32 - name: costPK in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: type: object text/json: schema: type: object application/xml: schema: type: object text/xml: schema: type: object requestBody: content: application/json: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/json: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/xml: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/xml: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' required: true summary: Work order misc cost estimates put x-summary-source: derived /WorkOrders/{workOrderPK}/MiscEstimates: get: tags: - WorkOrderMiscCostEstimates operationId: WorkOrderMiscCostEstimates_GetMiscEstimatesForWorkOrder parameters: - name: workOrderPK in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ApiResponse' text/json: schema: $ref: '#/components/schemas/ApiResponse' application/xml: schema: $ref: '#/components/schemas/ApiResponse' text/xml: schema: $ref: '#/components/schemas/ApiResponse' summary: Work order misc cost estimates get misc estimates for work order x-summary-source: derived post: tags: - WorkOrderMiscCostEstimates operationId: WorkOrderMiscCostEstimates_Post parameters: - name: workOrderPK in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: type: object text/json: schema: type: object application/xml: schema: type: object text/xml: schema: type: object requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' required: true summary: Work order misc cost estimates post x-summary-source: derived /WorkOrderMiscEstimates: get: tags: - WorkOrderMiscCostEstimates operationId: getWorkOrderMiscEstimates responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ApiResponse' text/json: schema: $ref: '#/components/schemas/ApiResponse' application/xml: schema: $ref: '#/components/schemas/ApiResponse' text/xml: schema: $ref: '#/components/schemas/ApiResponse' summary: Work order misc cost estimates get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderMiscCostEstimates_Get put: tags: - WorkOrderMiscCostEstimates operationId: putWorkOrderMiscEstimates responses: '200': description: OK content: application/json: schema: type: object text/json: schema: type: object application/xml: schema: type: object text/xml: schema: type: object requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' required: true summary: Work order misc cost estimates put x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderMiscCostEstimates_Put post: tags: - WorkOrderMiscCostEstimates operationId: postWorkOrderMiscEstimates parameters: - name: workOrderPK in: query required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: type: object text/json: schema: type: object application/xml: schema: type: object text/xml: schema: type: object requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' required: true summary: Work order misc cost estimates post x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderMiscCostEstimates_Post /WorkOrderMiscEstimates/{costPK}: get: tags: - WorkOrderMiscCostEstimates operationId: getWorkOrderMiscEstimatesByCostPK parameters: - name: workOrderPK in: query required: true schema: type: integer format: int32 - name: costPK in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ApiResponse' text/json: schema: $ref: '#/components/schemas/ApiResponse' application/xml: schema: $ref: '#/components/schemas/ApiResponse' text/xml: schema: $ref: '#/components/schemas/ApiResponse' summary: Work order misc cost estimates get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderMiscCostEstimates_Get put: tags: - WorkOrderMiscCostEstimates operationId: putWorkOrderMiscEstimatesByCostPK parameters: - name: workOrderPK in: query required: true schema: type: integer format: int32 - name: costPK in: path required: true schema: type: integer format: int32 responses: '200': description: OK content: application/json: schema: type: object text/json: schema: type: object application/xml: schema: type: object text/xml: schema: type: object requestBody: content: application/json: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/json: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/xml: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' text/xml: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/WorkOrderMiscCostEstimateViewModel' required: true summary: Work order misc cost estimates put x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderMiscCostEstimates_Put components: schemas: EntityRefViewModel_Account: type: object properties: PK: format: int32 type: integer ID: type: string Name: type: string Uuid: format: uuid type: string example: 00000000-0000-0000-0000-000000000000 WorkOrderMiscCostEstimateViewModel: type: object properties: PK: format: int32 type: integer WorkOrderPK: format: int32 type: integer MiscCostName: type: string MiscCostDesc: type: string EstimatedCost: format: double type: number MiscCostDate: format: date-time type: string ChargePercentage: format: double type: number TotalCharge: format: double type: number LastModifiedDate: format: date-time type: string ResourceUri: type: string LaborRef: $ref: '#/components/schemas/EntityRefViewModel_Labor' AccountRef: $ref: '#/components/schemas/EntityRefViewModel_Account' CategoryRef: $ref: '#/components/schemas/EntityRefViewModel_Category' CompanyRef: $ref: '#/components/schemas/EntityRefViewModel_Company' AutoCalcCost: type: boolean AutoCalcCharge: type: boolean EntityRefViewModel_Company: type: object properties: PK: format: int32 type: integer ID: type: string Name: type: string Uuid: format: uuid type: string example: 00000000-0000-0000-0000-000000000000 IApiResult: type: object properties: {} ApiResponse: type: object properties: Results: type: array items: $ref: '#/components/schemas/IApiResult' Total: format: int32 type: integer EntityRefViewModel_Labor: type: object properties: PK: format: int32 type: integer ID: type: string Name: type: string Uuid: format: uuid type: string example: 00000000-0000-0000-0000-000000000000 EntityRefViewModel_Category: type: object properties: PK: format: int32 type: integer ID: type: string Name: type: string Uuid: format: uuid type: string example: 00000000-0000-0000-0000-000000000000 securitySchemes: basic: type: http scheme: basic description: Basic HTTP Authentication