{"openapi":"3.0.0","info":{"title":"Account Enrollment API","version":"1.0.0","description":"API for enrolling customer accounts into monitoring."},"paths":{"/customer/enrolment":{"get":{"summary":"Enroll accounts for monitoring","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollmentRequest"},"example":{"monitoringId":"DDA4AMRET","customerId":"C1","enrollmentDate":"2026-04-20T14:14:35.985897890"}}}},"responses":{"200":{"description":"Accounts enrolled successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollmentResponse"},"example":{"accountsEnrolled":["A1","A2"]}}}}}}}},"components":{"schemas":{"EnrollmentRequest":{"type":"object","properties":{"monitoringId":{"type":"string","example":"DDA4AMRET"},"customerId":{"type":"string","example":"C1"},"enrollmentDate":{"type":"string","format":"date-time","example":"2026-04-20T14:14:35.985897890"}},"required":["monitoringId","customerId","enrollmentDate"]},"EnrollmentResponse":{"type":"object","properties":{"accountsEnrolled":{"type":"array","items":{"type":"string"},"example":["A1","A2"]}}}}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/zafin/Customer-Enrolment/1.0.0"}]}