/api/test/testmap: get: tags: [Tests] summary: List all test mappings security: - bearerAuth: [] parameters: - name: page in: query schema: type: integer default: 1 description: Page number for pagination - name: perPage in: query schema: type: integer default: 20 description: Number of items per page responses: '200': description: List of test mappings content: application/json: schema: type: object properties: status: type: string example: success message: type: string data: type: array items: $ref: '../components/schemas/tests.yaml#/TestMap' post: tags: [Tests] summary: Create test mapping security: - bearerAuth: [] requestBody: required: true content: application/json: schema: type: object properties: TestSiteID: type: integer description: Test Site ID (required) HostType: type: string description: Host type code HostID: type: string description: Host identifier HostTestCode: type: string description: Test code in host system HostTestName: type: string description: Test name in host system ClientType: type: string description: Client type code ClientID: type: string description: Client identifier ConDefID: type: integer description: Connection definition ID ClientTestCode: type: string description: Test code in client system ClientTestName: type: string description: Test name in client system required: - TestSiteID responses: '201': description: Test mapping created content: application/json: schema: type: object properties: status: type: string example: success message: type: string data: type: integer description: Created TestMapID patch: tags: [Tests] summary: Update test mapping security: - bearerAuth: [] requestBody: required: true content: application/json: schema: type: object properties: TestMapID: type: integer description: Test Map ID (required) TestSiteID: type: integer HostType: type: string HostID: type: string HostTestCode: type: string HostTestName: type: string ClientType: type: string ClientID: type: string ConDefID: type: integer ClientTestCode: type: string ClientTestName: type: string required: - TestMapID responses: '200': description: Test mapping updated content: application/json: schema: type: object properties: status: type: string example: success message: type: string data: type: integer description: Updated TestMapID delete: tags: [Tests] summary: Soft delete test mapping security: - bearerAuth: [] requestBody: required: true content: application/json: schema: type: object properties: TestMapID: type: integer description: Test Map ID to delete (required) required: - TestMapID responses: '200': description: Test mapping deleted successfully content: application/json: schema: type: object properties: status: type: string example: success message: type: string data: type: integer description: Deleted TestMapID '404': description: Test mapping not found or already deleted /api/test/testmap/{id}: get: tags: [Tests] summary: Get test mapping by ID security: - bearerAuth: [] parameters: - name: id in: path required: true schema: type: integer description: Test Map ID responses: '200': description: Test mapping details content: application/json: schema: type: object properties: status: type: string message: type: string data: $ref: '../components/schemas/tests.yaml#/TestMap' '404': description: Test mapping not found /api/test/testmap/by-testsite/{testSiteID}: get: tags: [Tests] summary: Get test mappings by test site security: - bearerAuth: [] parameters: - name: testSiteID in: path required: true schema: type: integer description: Test Site ID responses: '200': description: List of test mappings for the test site content: application/json: schema: type: object properties: status: type: string message: type: string data: type: array items: $ref: '../components/schemas/tests.yaml#/TestMap' /api/test/testmap/by-host/{hostType}/{hostID}: get: tags: [Tests] summary: Get test mappings by host security: - bearerAuth: [] parameters: - name: hostType in: path required: true schema: type: string description: Host type code - name: hostID in: path required: true schema: type: string description: Host identifier responses: '200': description: List of test mappings for the host content: application/json: schema: type: object properties: status: type: string message: type: string data: type: array items: $ref: '../components/schemas/tests.yaml#/TestMap' /api/test/testmap/by-client/{clientType}/{clientID}: get: tags: [Tests] summary: Get test mappings by client security: - bearerAuth: [] parameters: - name: clientType in: path required: true schema: type: string description: Client type code - name: clientID in: path required: true schema: type: string description: Client identifier responses: '200': description: List of test mappings for the client content: application/json: schema: type: object properties: status: type: string message: type: string data: type: array items: $ref: '../components/schemas/tests.yaml#/TestMap'