openapi: 3.2.0 info: version: v8 title: Maintenance Connection REST Work Order Part Estimates API servers: - url: https://api.maintenanceconnection.com:80/v8 tags: - name: WorkOrderPartEstimates paths: /WorkOrders/{workOrderPK}/PartEstimates/{PK}: get: tags: - WorkOrderPartEstimates operationId: WorkOrderPartEstimates_Get parameters: - name: workOrderPK in: path required: true schema: type: integer format: int32 - name: PK 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 part estimates get x-summary-source: derived put: tags: - WorkOrderPartEstimates operationId: WorkOrderPartEstimates_Put parameters: - name: workOrderPK in: path required: true schema: type: integer format: int32 - name: PK 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/WorkOrderPartEstimateViewModel' text/json: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/xml: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' text/xml: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' required: true summary: Work order part estimates put x-summary-source: derived /WorkOrders/{workOrderPK}/PartEstimates: get: tags: - WorkOrderPartEstimates operationId: WorkOrderPartEstimates_GetPartEstimatesForWorkOrder 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 part estimates get part estimates for work order x-summary-source: derived post: tags: - WorkOrderPartEstimates operationId: WorkOrderPartEstimates_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/WorkOrderPartEstimateViewModel' text/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' text/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' required: true summary: Work order part estimates post x-summary-source: derived /WorkOrderPartEstimates: get: tags: - WorkOrderPartEstimates operationId: getWorkOrderPartEstimates 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 part estimates get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderPartEstimates_Get put: tags: - WorkOrderPartEstimates operationId: putWorkOrderPartEstimates 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/WorkOrderPartEstimateViewModel' text/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' text/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' required: true summary: Work order part estimates put x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderPartEstimates_Put post: tags: - WorkOrderPartEstimates operationId: postWorkOrderPartEstimates 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/WorkOrderPartEstimateViewModel' text/json: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' text/xml: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/x-www-form-urlencoded: schema: type: array items: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' required: true summary: Work order part estimates post x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderPartEstimates_Post /WorkOrderPartEstimates/{PK}: get: tags: - WorkOrderPartEstimates operationId: getWorkOrderPartEstimatesByPK parameters: - name: workOrderPK in: query required: true schema: type: integer format: int32 - name: PK 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 part estimates get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderPartEstimates_Get put: tags: - WorkOrderPartEstimates operationId: putWorkOrderPartEstimatesByPK parameters: - name: workOrderPK in: query required: true schema: type: integer format: int32 - name: PK 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/WorkOrderPartEstimateViewModel' text/json: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/xml: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' text/xml: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/WorkOrderPartEstimateViewModel' required: true summary: Work order part estimates put x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: WorkOrderPartEstimates_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 WorkOrderPartEstimateViewModel: type: object properties: PK: format: int32 type: integer WorkOrderPK: format: int32 type: integer DirectIssue: type: boolean OutOfPocket: type: boolean QuantityEstimated: format: double type: number QuantityEstimatedUsed: format: double type: number QuantityLinked: format: int32 type: integer IssueUnitCost: format: double type: number IssueUnitChargePrice: format: double type: number IssueUnitChargePercentage: format: double type: number OtherCost: format: double type: number TotalCost: format: double type: number TotalCharge: format: double type: number LastModifiedDate: format: date-time type: string AutoCalcCost: type: boolean AutoCalcCharge: type: boolean ResourceUri: type: string Serial: type: string SerialReplaced: type: string SerialReplacedOutOfService: type: boolean SerialReplaceExisting: type: string SerialToLocationID: type: string Comments: type: string EstimatePK: format: int32 type: integer POPK: format: int32 type: integer PODetailPK: format: int32 type: integer POReceivedPK: format: int32 type: integer PartDate: format: date-time type: string PartRef: $ref: '#/components/schemas/EntityRefViewModel_Part' LocationRef: $ref: '#/components/schemas/EntityRefViewModel_Location' Bin: type: string AccountRef: $ref: '#/components/schemas/EntityRefViewModel_Account' CategoryRef: $ref: '#/components/schemas/EntityRefViewModel_Category' UDFChar1: type: string UDFChar2: type: string UDFChar3: type: string UDFChar4: type: string UDFChar5: type: string UDFDate1: format: date-time type: string UDFDate2: format: date-time type: string UDFBit1: type: boolean UDFBit2: type: boolean EntityRefViewModel_Location: 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: {} EntityRefViewModel_Part: 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 ApiResponse: type: object properties: Results: type: array items: $ref: '#/components/schemas/IApiResult' Total: format: int32 type: integer 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