Class RawAirWaybillsClient
- java.lang.Object
-
- com.chrt.api.resources.integrations.airwaybills.RawAirWaybillsClient
-
public class RawAirWaybillsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawAirWaybillsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<java.util.List<ChampConfirmationReceipt1>>confirmationsV1(java.lang.String taskGroupId)Retrieves all CHAMP confirmation receipts linked to the air waybill for a task group.ChrtApiHttpResponse<java.util.List<ChampConfirmationReceipt1>>confirmationsV1(java.lang.String taskGroupId, RequestOptions requestOptions)Retrieves all CHAMP confirmation receipts linked to the air waybill for a task group.ChrtApiHttpResponse<ChampAirWaybill1>createV1(AirWaybillCreateReq request)Creates a CHAMP air waybill pre-populated from the stored WebCargo booking record.ChrtApiHttpResponse<ChampAirWaybill1>createV1(AirWaybillCreateReq request, RequestOptions requestOptions)Creates a CHAMP air waybill pre-populated from the stored WebCargo booking record.ChrtApiHttpResponse<java.util.List<ChampFlightStatus1>>flightStatusesV1(java.lang.String taskGroupId)Retrieves all CHAMP flight status updates linked to the air waybill for a task group.ChrtApiHttpResponse<java.util.List<ChampFlightStatus1>>flightStatusesV1(java.lang.String taskGroupId, RequestOptions requestOptions)Retrieves all CHAMP flight status updates linked to the air waybill for a task group.ChrtApiHttpResponse<java.lang.Object>pdfV1(java.lang.String taskGroupId)Converts a CHAMP air waybill to PDF via CHAMP's conversion API.ChrtApiHttpResponse<java.lang.Object>pdfV1(java.lang.String taskGroupId, RequestOptions requestOptions)Converts a CHAMP air waybill to PDF via CHAMP's conversion API.ChrtApiHttpResponse<ChampAirWaybill1>retrieveV1(java.lang.String taskGroupId)Retrieves the stored CHAMP air waybill for a task group.ChrtApiHttpResponse<ChampAirWaybill1>retrieveV1(java.lang.String taskGroupId, RequestOptions requestOptions)Retrieves the stored CHAMP air waybill for a task group.ChrtApiHttpResponse<ChampAirWaybill1>submitV1(java.lang.String taskGroupId)Submits a draft CHAMP air waybill to Traxon cargoHUB.ChrtApiHttpResponse<ChampAirWaybill1>submitV1(java.lang.String taskGroupId, RequestOptions requestOptions)Submits a draft CHAMP air waybill to Traxon cargoHUB.ChrtApiHttpResponse<ChampAirWaybill1>updateV1(java.lang.String taskGroupId)Updates fields on an existing CHAMP air waybill.ChrtApiHttpResponse<ChampAirWaybill1>updateV1(java.lang.String taskGroupId, ChampAirWaybillClientUpdate1 request)Updates fields on an existing CHAMP air waybill.ChrtApiHttpResponse<ChampAirWaybill1>updateV1(java.lang.String taskGroupId, ChampAirWaybillClientUpdate1 request, RequestOptions requestOptions)Updates fields on an existing CHAMP air waybill.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawAirWaybillsClient
public RawAirWaybillsClient(ClientOptions clientOptions)
-
-
Method Detail
-
createV1
public ChrtApiHttpResponse<ChampAirWaybill1> createV1(AirWaybillCreateReq request)
Creates a CHAMP air waybill pre-populated from the stored WebCargo booking record. The booking must be synced first via the webcargo_bookings sync route. Returns 409 if an air waybill already exists for this task group. | (AirWaybillCreateReq) -> (ChampAirWaybill1)
-
createV1
public ChrtApiHttpResponse<ChampAirWaybill1> createV1(AirWaybillCreateReq request, RequestOptions requestOptions)
Creates a CHAMP air waybill pre-populated from the stored WebCargo booking record. The booking must be synced first via the webcargo_bookings sync route. Returns 409 if an air waybill already exists for this task group. | (AirWaybillCreateReq) -> (ChampAirWaybill1)
-
retrieveV1
public ChrtApiHttpResponse<ChampAirWaybill1> retrieveV1(java.lang.String taskGroupId)
Retrieves the stored CHAMP air waybill for a task group. | () -> (ChampAirWaybill1)
-
retrieveV1
public ChrtApiHttpResponse<ChampAirWaybill1> retrieveV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Retrieves the stored CHAMP air waybill for a task group. | () -> (ChampAirWaybill1)
-
updateV1
public ChrtApiHttpResponse<ChampAirWaybill1> updateV1(java.lang.String taskGroupId)
Updates fields on an existing CHAMP air waybill. Any editable field can be set — only fields included in the request body are changed. | (ChampAirWaybillClientUpdate1) -> (ChampAirWaybill1)
-
updateV1
public ChrtApiHttpResponse<ChampAirWaybill1> updateV1(java.lang.String taskGroupId, ChampAirWaybillClientUpdate1 request)
Updates fields on an existing CHAMP air waybill. Any editable field can be set — only fields included in the request body are changed. | (ChampAirWaybillClientUpdate1) -> (ChampAirWaybill1)
-
updateV1
public ChrtApiHttpResponse<ChampAirWaybill1> updateV1(java.lang.String taskGroupId, ChampAirWaybillClientUpdate1 request, RequestOptions requestOptions)
Updates fields on an existing CHAMP air waybill. Any editable field can be set — only fields included in the request body are changed. | (ChampAirWaybillClientUpdate1) -> (ChampAirWaybill1)
-
submitV1
public ChrtApiHttpResponse<ChampAirWaybill1> submitV1(java.lang.String taskGroupId)
Submits a draft CHAMP air waybill to Traxon cargoHUB. Requires shipper, consignee, and charge_declarations to be filled in. Returns 422 if the AWB is not in draft status or required fields are missing. | () -> (ChampAirWaybill1)
-
submitV1
public ChrtApiHttpResponse<ChampAirWaybill1> submitV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Submits a draft CHAMP air waybill to Traxon cargoHUB. Requires shipper, consignee, and charge_declarations to be filled in. Returns 422 if the AWB is not in draft status or required fields are missing. | () -> (ChampAirWaybill1)
-
pdfV1
public ChrtApiHttpResponse<java.lang.Object> pdfV1(java.lang.String taskGroupId)
Converts a CHAMP air waybill to PDF via CHAMP's conversion API. Requires shipper, consignee, and charge_declarations to be filled in. Returns the PDF file as application/pdf. | () -> (PDF binary)
-
pdfV1
public ChrtApiHttpResponse<java.lang.Object> pdfV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Converts a CHAMP air waybill to PDF via CHAMP's conversion API. Requires shipper, consignee, and charge_declarations to be filled in. Returns the PDF file as application/pdf. | () -> (PDF binary)
-
confirmationsV1
public ChrtApiHttpResponse<java.util.List<ChampConfirmationReceipt1>> confirmationsV1(java.lang.String taskGroupId)
Retrieves all CHAMP confirmation receipts linked to the air waybill for a task group. | () -> (list[ChampConfirmationReceipt1])
-
confirmationsV1
public ChrtApiHttpResponse<java.util.List<ChampConfirmationReceipt1>> confirmationsV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Retrieves all CHAMP confirmation receipts linked to the air waybill for a task group. | () -> (list[ChampConfirmationReceipt1])
-
flightStatusesV1
public ChrtApiHttpResponse<java.util.List<ChampFlightStatus1>> flightStatusesV1(java.lang.String taskGroupId)
Retrieves all CHAMP flight status updates linked to the air waybill for a task group. | () -> (list[ChampFlightStatus1])
-
flightStatusesV1
public ChrtApiHttpResponse<java.util.List<ChampFlightStatus1>> flightStatusesV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Retrieves all CHAMP flight status updates linked to the air waybill for a task group. | () -> (list[ChampFlightStatus1])
-
-