--- openapi: 3.0.1 info: title: API V1 version: v1 paths: "/api/v0/batch-education-enrollments": post: summary: Register a new batch of education enrollments tags: - Batch Education Enrollments security: - oauth2: [] parameters: [] responses: '201': description: batch registration successful content: application/json: schema: type: object properties: message: type: string example: Batch registration successful batchJobId: type: string example: batch-2023-05-22-001 '400': description: missing required fields requestBody: content: application/json: schema: type: object required: - batchId - submittedBy - students properties: batchId: type: string description: A unique identifier for the batch. This must be unique to any previous batch requested by this client. example: batch-2023-05-22-001 submittedBy: type: string example: admin@university.edu callbackUrl: type: string example: https://university.edu/api/callbacks/enrollment students: type: array items: type: object required: - recordId - firstName - lastName - dateOfBirth properties: recordId: type: string description: A unique identifier for this record within the batch. example: STUDENT-1001 firstName: type: string example: Jane lastName: type: string example: Smith dateOfBirth: type: string example: '1995-03-15' ssn: type: string example: 000-00-1111 "/api/v0/batch-education-enrollments/{id}": parameters: - name: id in: path required: true schema: type: string get: summary: Get the status of a batch tags: - Batch Education Enrollments security: - oauth2: [] responses: '200': description: successful content: application/json: schema: type: object properties: batch_job_id: type: string example: batch-2023-05-22-001 status: type: string enum: - QUEUED - PROCESSING - COMPLETED - FAILED example: PROCESSING submitted_at: type: string format: date-time example: '2023-05-22T08:53:00Z' updated_at: type: string format: date-time example: '2023-05-22T08:55:00Z' total_records: type: integer example: 100 processed_records: type: integer example: 45 success_count: type: integer example: 40 failure_count: type: integer example: 5 '404': description: batch not found "/api/v0/batch-education-enrollments/{batchJobId}/details": parameters: - name: batchJobId in: path required: true schema: type: string get: summary: Get the details of a batch tags: - Batch Education Enrollments security: - oauth2: [] responses: '200': description: successful content: application/json: schema: type: object properties: batch_job_id: type: string example: batch-2023-05-22-001 results: type: array items: type: object properties: record_id: type: string example: STUDENT-1001 status: type: string enum: - QUEUED - PROCESSING - SUCCESS - NO_HIT - FAILED example: SUCCESS found_enrollment: type: boolean example: true results: type: array items: type: object properties: schoolName: type: string example: University of Excellence schoolCode: type: string example: '001171' termBeginDate: type: string example: '2023-01-15' termEndDate: type: string example: '2023-05-20' enrollmentStatus: type: string example: FULL_TIME '404': description: batch not found "/api/v0/education-enrollments": post: summary: create education-enrollment security: - oauth2: [] parameters: [] responses: '200': description: successful content: application/json: examples: successful_enrollment_lookup: value: enrollmentStatus: FULL_TIME enrollmentDetails: - schoolName: University of Excellence schoolCode: "001171" termBeginDate: '2023-01-15' termEndDate: '2023-05-20' enrollmentStatus: FULL_TIME dataSource: NSC metadata: durationMs: 125 schema: type: object properties: enrollmentStatus: type: string description: Aggregated enrollment status across all schools. enum: - FULL_TIME - THREE_QUARTERS_TIME - HALF_TIME - LESS_THAN_HALF_TIME - ENROLLMENT_STATUS_UNKNOWN_CREDIT_TIMING example: FULL_TIME enrollmentDetails: type: array items: type: object properties: schoolName: type: string description: Official name of the educational institution. example: University of Excellence schoolCode: type: string description: Six digit School ID assigned by the Department of Education for the educational istitution. example: "001171" termBeginDate: type: string description: Start date of the academic term (YYYY-MM-DD). example: '2023-01-15' termEndDate: type: string description: End date of the academic term (YYYY-MM-DD). example: '2023-05-20' enrollmentStatus: type: string description: Enrollment status for this specific term. enum: - FULL_TIME - THREE_QUARTERS_TIME - HALF_TIME - LESS_THAN_HALF_TIME - ENROLLMENT_STATUS_UNKNOWN_CREDIT_TIMING example: FULL_TIME dataSource: type: string description: The source of the enrollment data (e.g., NSC). example: NSC metadata: type: object properties: durationMs: type: integer description: Time taken to fetch data from the source in milliseconds. example: 125 requestBody: content: application/json: schema: type: object required: - firstName - dateOfBirth - lastName properties: firstName: type: string description: First name of the student. example: John middleName: type: string description: Middle name of the student. example: Quincy lastName: type: string description: Last name of the student. example: Doe dateOfBirth: type: string description: Date of birth of the student (YYYY-MM-DD). example: '1990-01-01' ssn: type: string description: Social Security Number of the student. example: 000-00-0000 address: type: object description: Postal address when a lookup requires demographic matching instead of SSN matching. properties: street1: type: string description: Primary street address line. example: 123 Main St street2: type: string description: Secondary street address line when available. example: Apt 4B street3: type: string description: Additional street address line when available. city: type: string description: City or locality. example: Arlington state: type: string description: State, province, or region code. example: VA postalCode: type: string description: Postal or ZIP code. example: '22202' country: type: string description: Country name or code. example: USA required: - street1 - city - state - postalCode - country "/api/v0/veteran-disability-ratings": post: summary: create veteran-disability-rating security: - oauth2: [] parameters: [] responses: '200': description: successful content: application/json: examples: successful_disability_rating_lookup: value: totalDisabilityStatus: true totalDisabilityStatusEffectiveDate: '2023-01-01' combinedDisabilityRating: 100 combinedEffectiveDate: '2023-01-01' legalEffectiveDate: '2023-01-01' earliestRatingEndDate: '2024-06-01' dataSource: VA metadata: durationMs: 125 schema: type: object properties: totalDisabilityStatus: type: boolean description: Whether the veteran is totally disabled. example: true totalDisabilityStatusEffectiveDate: type: string description: Effective date of total disability status (YYYY-MM-DD). example: '2023-01-01' combinedDisabilityRating: type: integer description: Combined disability rating percentage. example: 100 combinedEffectiveDate: type: string description: Effective date of combined disability rating (YYYY-MM-DD). example: '2023-01-01' legalEffectiveDate: type: string description: Legal effective date of disability rating (YYYY-MM-DD). example: '2023-01-01' earliestRatingEndDate: type: string description: Earliest end date for any individual disability rating (YYYY-MM-DD). example: '2024-06-01' dataSource: type: string description: The source of the disability rating data (e.g., VA). example: VA metadata: type: object properties: apiVersion: type: string example: 1.3.0 environment: type: string example: development requestTimestamp: type: string example: '2023-11-01T12:00:00.000Z' responseTimestamp: type: string example: '2023-11-01T12:00:00.100Z' datasourceDurationMillis: type: integer example: 100 transactionId: type: string example: uuid requestBody: content: application/json: schema: type: object required: - firstName - dateOfBirth - lastName properties: firstName: type: string description: First name of the veteran. example: John middleName: type: string description: Middle name of the veteran. example: Quincy lastName: type: string description: Last name of the veteran. example: Doe dateOfBirth: type: string description: Date of birth of the veteran (YYYY-MM-DD). example: '1990-01-01' ssn: type: string description: Social Security Number of the veteran. example: 000-00-0000 address: type: object description: Postal address when a lookup requires demographic matching instead of SSN matching. properties: street1: type: string description: Primary street address line. example: 123 Main St street2: type: string description: Secondary street address line when available. example: Apt 4B street3: type: string description: Additional street address line when available. city: type: string description: City or locality. example: Arlington state: type: string description: State, province, or region code. example: VA postalCode: type: string description: Postal or ZIP code. example: '22202' country: type: string description: Country name or code. example: USA components: securitySchemes: oauth2: type: oauth2 flows: clientCredentials: tokenUrl: "/oauth/token" scopes: {} servers: - url: https://{defaultHost} variables: defaultHost: default: api.uat.emmy.cms.gov