openapi: 3.2.0 info: version: v8 title: Maintenance Connection REST Asset Documents API servers: - url: https://api.maintenanceconnection.com:80/v8 tags: - name: AssetDocuments paths: /Assets/{assetPK}/documents: get: tags: - AssetDocuments operationId: AssetDocuments_Get parameters: - name: assetPK 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: Asset documents get x-summary-source: derived post: tags: - AssetDocuments operationId: AssetDocuments_Post parameters: - name: assetPK 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: Asset documents post x-summary-source: derived /Assets/{assetPK}/documents/{PK}: get: tags: - AssetDocuments operationId: getAssetsByAssetPKDocumentsByPK parameters: - name: assetPK 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: Asset documents get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: AssetDocuments_Get /AssetDocuments: get: tags: - AssetDocuments operationId: getAssetDocuments 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: Asset documents get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: AssetDocuments_Get /AssetDocuments/{assetPK}: get: tags: - AssetDocuments operationId: getAssetDocumentsByAssetPK parameters: - name: assetPK 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: Asset documents get x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: AssetDocuments_Get post: tags: - AssetDocuments operationId: postAssetDocumentsByAssetPK parameters: - name: assetPK 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: Asset documents post x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: AssetDocuments_Post components: schemas: IApiResult: type: object properties: {} ApiResponse: type: object properties: Results: type: array items: $ref: '#/components/schemas/IApiResult' Total: format: int32 type: integer securitySchemes: basic: type: http scheme: basic description: Basic HTTP Authentication