# Assign a qualification to a crew member Assign a new qualification to a crew member with license details, expiration dates, and other relevant information. - Validates required fields including crew ID and qualification ID - Supports license numbers, issuing authorities, and country information - Handles pilot-in-command designations and base month calculations An operations manager needs to assign a new type rating qualification to a pilot after completing training. This endpoint allows them to create the qualification record with all necessary details. Endpoint: POST /api/v2/external/crew-qualifications Version: 2.0.0 Security: X-Api-Client-Id, X-Auth-Token ## Request fields (application/json): - `crewId` (string, required) Unique identifier of the crew member Example: "crew-67890" - `qualificationId` (string, required) Unique identifier of the qualification type Example: "qual-type-12345" - `licenseNumber` (string) License or certificate number Example: "ATP-123456" - `issuingAuthority` (string) Authority that issued the license or certificate Example: "FAA" - `country` (string) Country where the license was issued (ISO 3166-1 alpha-3) Example: "AUT" - `issueDate` (string) Date when the license was issued Example: "2023-01-15" - `expiryDate` (string) Date when the license expires Example: "2025-01-15" - `trainingStartDate` (string) Date when training for this qualification started Example: "2022-12-01" - `notes` (string) Additional notes or comments about the qualification Example: "Completed simulator training" - `isPilotInCommand` (boolean) Whether this qualification allows pilot-in-command privileges Example: true - `baseMonth` (string) Base month for qualification calculations Enum: "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" ## Response 200 fields (application/json): - `id` (string) Unique identifier for the crew qualification Example: "qual-12345" - `crewId` (string) Unique identifier of the crew member Example: "crew-67890" - `qualificationId` (string) Unique identifier of the qualification type Example: "qual-type-12345" - `licenseNumber` (string) License or certificate number Example: "ATP-123456" - `issuingAuthority` (string) Authority that issued the license or certificate Example: "FAA" - `country` (string) Country where the license was issued (ISO 3166-1 alpha-3) Example: "AUT" - `issueDate` (string) Date when the license was issued Example: "2023-01-15" - `expiryDate` (string) Date when the license expires Example: "2025-01-15" - `trainingStartDate` (string) Date when training for this qualification started Example: "2022-12-01" - `notes` (string) Additional notes or comments about the qualification Example: "Completed simulator training" - `isPilotInCommand` (boolean) Whether this qualification allows pilot-in-command privileges Example: true - `baseMonth` (string) Base month for qualification calculations Enum: "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" - `createdAtDateTime` (string) Date and time when the qualification was created Example: "2024-01-15T10:30:00.000Z" - `updatedAtDateTime` (string) Date and time when the qualification was last updated Example: "2024-01-15T10:30:00.000Z"