Provides endpoints for analyzing airline schedule changes affecting passenger reservations. Submit a PNR for asynchronous analysis, check the status and results of an analysis, or submit multiple PNRs for batch processing.
Submits multiple PNRs for schedule change analysis in a single request. Each PNR is analyzed independently and returns its own analysis ID.
Array of objects (acai.schedule_changes.AnalyzeScheduleChangesRequest) |
{- "batch_pnrs": [
- {
- "pcc": "string",
- "pnr": "string"
}
]
}{- "results": [
- {
- "analysis_id": "string",
- "pnr": "string"
}
]
}Submits a PNR for schedule change analysis. The analysis runs asynchronously and returns an analysis ID that can be used to retrieve results.
| pcc | string |
| pnr | string |
{- "pcc": "string",
- "pnr": "string"
}{- "analysis_id": "string"
}Retrieves the current status and results of a schedule change analysis by its ID.
| analysis_id required | string |
{- "analysis": {
- "analysis_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "error_message": "string",
- "general_classification": "string",
- "pcc": "string",
- "pnr": "string",
- "reason": "string",
- "schedule_changes": [
- {
- "affected_flight_type": "CODESHARE",
- "classification": "string",
- "emd_refund_allowed": "EMD_REFUND_N_A",
- "foc_refund_allowed": "FOC_REFUND_YES_NO_APPROVAL_NEEDED",
- "modified_by": "string",
- "new_segment": {
- "airline": "string",
- "arrival_time": "2019-08-24T14:15:22Z",
- "booking_class": "string",
- "departure_time": "2019-08-24T14:15:22Z",
- "description": "string",
- "destination_iata": "string",
- "fare_type": "string",
- "flight_number": "string",
- "origin_iata": "string",
- "passenger_count": 0,
- "record_locator": "string",
- "status_code": "string",
- "ticket_designator": "string",
- "ticket_reference": "string"
}, - "old_segment": {
- "airline": "string",
- "arrival_time": "2019-08-24T14:15:22Z",
- "booking_class": "string",
- "departure_time": "2019-08-24T14:15:22Z",
- "description": "string",
- "destination_iata": "string",
- "fare_type": "string",
- "flight_number": "string",
- "origin_iata": "string",
- "passenger_count": 0,
- "record_locator": "string",
- "status_code": "string",
- "ticket_designator": "string",
- "ticket_reference": "string"
}, - "reason": "string",
- "rebooking_allowed": "YES_NO_APPROVAL_NEEDED",
- "rebooking_policy": {
- "additional_data": [
- {
- "key": "string",
- "value": "string"
}
], - "instruction_for_agent": "string",
- "policy_source": "string",
- "reason": "string"
}, - "refund_policy": {
- "additional_data": [
- {
- "key": "string",
- "value": "string"
}
], - "instruction_for_agent": "string",
- "policy_source": "string",
- "reason": "string"
}, - "rerouting": {
- "detail": "string",
- "permitted": true,
- "scope": "ORIGIN_DESTINATION"
}, - "revalidated": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "waiver_code": {
- "code": "string",
- "type": "NO_WAIVER"
}
}
], - "status": "CREATED",
- "tickets": [
- {
- "associated_emd": [
- "string"
], - "commission_amount": 0.1,
- "commission_amount_on_penalty": 0.1,
- "coupons": [
- {
- "airline": "string",
- "baggage_allowance": "string",
- "booking_class": "string",
- "date_time": "2019-08-24T14:15:22Z",
- "destination": "string",
- "fare_basis_code": "string",
- "flight_number": "string",
- "not_valid_after": "2019-08-24T14:15:22Z",
- "not_valid_before": "2019-08-24T14:15:22Z",
- "number": "string",
- "origin": "string",
- "state": "string",
- "status": "string"
}
], - "customer_number": "string",
- "endorsement": "string",
- "equivalent_fare_paid": {
- "bulk_ticket": true,
- "currency": "string",
- "inclusive_tour": true,
- "value": 0.1
}, - "error_message": "string",
- "exchange_ticket": {
- "fef": "string",
- "iata_agency_number": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "ticket_number": "string"
}, - "fare_amount": {
- "bulk_ticket": true,
- "currency": "string",
- "inclusive_tour": true,
- "value": 0.1
}, - "fare_calculation": "string",
- "fare_type": "string",
- "frequent_flyer_number": "string",
- "iata_agency_number": "string",
- "invoice_number": "string",
- "issue_date": "2019-08-24T14:15:22Z",
- "net_fare_indicator": "string",
- "original_ticket": {
- "fef": "string",
- "iata_agency_number": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "ticket_number": "string"
}, - "passenger_name": "string",
- "passenger_reference": "string",
- "payment_control_indicator": "string",
- "payments": [
- {
- "content": "string",
- "number": 0
}
], - "pcc": "string",
- "settlement_authorization": "string",
- "taxes": [
- {
- "amount": 0.1,
- "code": "string"
}
], - "ticket_number": "string",
- "ticket_status": "OPEN_FULLY_UNUSED",
- "ticketed_fare": "string",
- "total_amount": {
- "bulk_ticket": true,
- "currency": "string",
- "inclusive_tour": true,
- "value": 0.1
}, - "tour_id": "string",
- "validating_carrier": "string"
}
], - "updated_at": "2019-08-24T14:15:22Z"
}
}