Class RawDriverClient
- java.lang.Object
-
- com.chrt.api.resources.tracking.driver.RawDriverClient
-
public class RawDriverClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawDriverClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<DriverUpdateRes>updateV1(DriverUpdateReq request)Records driver location updates for a task group.ChrtApiHttpResponse<DriverUpdateRes>updateV1(DriverUpdateReq request, RequestOptions requestOptions)Records driver location updates for a task group.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawDriverClient
public RawDriverClient(ClientOptions clientOptions)
-
-
Method Detail
-
updateV1
public ChrtApiHttpResponse<DriverUpdateRes> updateV1(DriverUpdateReq request)
Records driver location updates for a task group. Automatically writes to task group tracking if IN_PROGRESS and cargo tracking if IN_TRANSIT. Updates driver's last seen timestamp and location. | (DriverUpdateReq) -> (DriverUpdateRes)
-
updateV1
public ChrtApiHttpResponse<DriverUpdateRes> updateV1(DriverUpdateReq request, RequestOptions requestOptions)
Records driver location updates for a task group. Automatically writes to task group tracking if IN_PROGRESS and cargo tracking if IN_TRANSIT. Updates driver's last seen timestamp and location. | (DriverUpdateReq) -> (DriverUpdateRes)
-
-