Class AsyncRawTaskGroupsClient
- java.lang.Object
-
- com.chrt.api.resources.taskgroups.AsyncRawTaskGroupsClient
-
public class AsyncRawTaskGroupsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawTaskGroupsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>addMessageV1(java.lang.String taskGroupId, AddMessageReq request)Adds a message to a task group's message log.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>addMessageV1(java.lang.String taskGroupId, AddMessageReq request, RequestOptions requestOptions)Adds a message to a task group's message log.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>removeDriverV1(java.lang.String taskGroupId)Removes the driver from a task group (sets driver_id to null).java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>removeDriverV1(java.lang.String taskGroupId, RequestOptions requestOptions)Removes the driver from a task group (sets driver_id to null).java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>setFlightInfoV1(java.lang.String taskGroupId)Sets the flight number and/or fa_flight_ids on a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>setFlightInfoV1(java.lang.String taskGroupId, SetFlightInfoReq request)Sets the flight number and/or fa_flight_ids on a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>setFlightInfoV1(java.lang.String taskGroupId, SetFlightInfoReq request, RequestOptions requestOptions)Sets the flight number and/or fa_flight_ids on a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>setTaskOrderingV1(java.lang.String taskGroupId, SetTaskOrderingReq request)Sets the ordering of tasks within a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>setTaskOrderingV1(java.lang.String taskGroupId, SetTaskOrderingReq request, RequestOptions requestOptions)Sets the ordering of tasks within a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>startV1(java.lang.String taskGroupId)Starts a task group by transitioning it from STAGED to IN_PROGRESS and syncing related order state.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>startV1(java.lang.String taskGroupId, RequestOptions requestOptions)Starts a task group by transitioning it from STAGED to IN_PROGRESS and syncing related order state.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateCourierOrgV1(java.lang.String taskGroupId, UpdateCourierOrgReq request)Updates the courier organization assigned to a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateCourierOrgV1(java.lang.String taskGroupId, UpdateCourierOrgReq request, RequestOptions requestOptions)Updates the courier organization assigned to a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateDriverV1(java.lang.String taskGroupId, UpdateDriverReq request)Updates the driver assigned to a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateDriverV1(java.lang.String taskGroupId, UpdateDriverReq request, RequestOptions requestOptions)Updates the driver assigned to a task group.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawTaskGroupsClient
public AsyncRawTaskGroupsClient(ClientOptions clientOptions)
-
-
Method Detail
-
startV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> startV1(java.lang.String taskGroupId)
Starts a task group by transitioning it from STAGED to IN_PROGRESS and syncing related order state. | authz_personas=[courier_driver, lig_owner_operators] | () -> (bool)
-
startV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> startV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Starts a task group by transitioning it from STAGED to IN_PROGRESS and syncing related order state. | authz_personas=[courier_driver, lig_owner_operators] | () -> (bool)
-
setTaskOrderingV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setTaskOrderingV1(java.lang.String taskGroupId, SetTaskOrderingReq request)
Sets the ordering of tasks within a task group. Requires complete list of task IDs in desired order. Completed tasks must be before staged tasks. | authz_personas=[lig_owner_operators] | (SetTaskOrderingReq) -> (bool)
-
setTaskOrderingV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setTaskOrderingV1(java.lang.String taskGroupId, SetTaskOrderingReq request, RequestOptions requestOptions)
Sets the ordering of tasks within a task group. Requires complete list of task IDs in desired order. Completed tasks must be before staged tasks. | authz_personas=[lig_owner_operators] | (SetTaskOrderingReq) -> (bool)
-
updateDriverV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateDriverV1(java.lang.String taskGroupId, UpdateDriverReq request)
Updates the driver assigned to a task group. | authz_personas=[courier_org_operators] | (UpdateDriverReq) -> (bool)
-
updateDriverV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateDriverV1(java.lang.String taskGroupId, UpdateDriverReq request, RequestOptions requestOptions)
Updates the driver assigned to a task group. | authz_personas=[courier_org_operators] | (UpdateDriverReq) -> (bool)
-
removeDriverV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> removeDriverV1(java.lang.String taskGroupId)
Removes the driver from a task group (sets driver_id to null). | authz_personas=[courier_org_operators, courier_driver] | () -> (bool)
-
removeDriverV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> removeDriverV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Removes the driver from a task group (sets driver_id to null). | authz_personas=[courier_org_operators, courier_driver] | () -> (bool)
-
updateCourierOrgV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateCourierOrgV1(java.lang.String taskGroupId, UpdateCourierOrgReq request)
Updates the courier organization assigned to a task group. | authz_personas=[forwarder_org_operators] | (UpdateCourierOrgReq) -> (bool)
-
updateCourierOrgV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateCourierOrgV1(java.lang.String taskGroupId, UpdateCourierOrgReq request, RequestOptions requestOptions)
Updates the courier organization assigned to a task group. | authz_personas=[forwarder_org_operators] | (UpdateCourierOrgReq) -> (bool)
-
setFlightInfoV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setFlightInfoV1(java.lang.String taskGroupId)
Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_owner_operators] | (SetFlightInfoReq) -> (bool)
-
setFlightInfoV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setFlightInfoV1(java.lang.String taskGroupId, SetFlightInfoReq request)
Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_owner_operators] | (SetFlightInfoReq) -> (bool)
-
setFlightInfoV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> setFlightInfoV1(java.lang.String taskGroupId, SetFlightInfoReq request, RequestOptions requestOptions)
Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_owner_operators] | (SetFlightInfoReq) -> (bool)
-
addMessageV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> addMessageV1(java.lang.String taskGroupId, AddMessageReq request)
Adds a message to a task group's message log. | authz_personas=[courier_driver, courier_org_operators, forwarder_org_operators, shipper_org_operators] | (AddMessageReq) -> (bool)
-
addMessageV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> addMessageV1(java.lang.String taskGroupId, AddMessageReq request, RequestOptions requestOptions)
Adds a message to a task group's message log. | authz_personas=[courier_driver, courier_org_operators, forwarder_org_operators, shipper_org_operators] | (AddMessageReq) -> (bool)
-
-