Class RawExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.shipping.orderdrafts.expanded.RawExpandedClient
-
public class RawExpandedClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawExpandedClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<OrderDraftExpandedListRes>listV1(ExpandedListV1Request request)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.ChrtApiHttpResponse<OrderDraftExpandedListRes>listV1(ExpandedListV1Request request, RequestOptions requestOptions)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.ChrtApiHttpResponse<OrderDraftExpanded>retrieveV1(java.lang.String orderRef)Fetches a single draft order with optional expanded related data.ChrtApiHttpResponse<OrderDraftExpanded>retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)Fetches a single draft order with optional expanded related data.ChrtApiHttpResponse<OrderDraftExpanded>retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)Fetches a single draft order with optional expanded related data.ChrtApiHttpResponse<java.util.List<OrderTypeaheadResult>>typeaheadV1(ExpandedTypeaheadV1Request request)Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex.ChrtApiHttpResponse<java.util.List<OrderTypeaheadResult>>typeaheadV1(ExpandedTypeaheadV1Request request, RequestOptions requestOptions)Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawExpandedClient
public RawExpandedClient(ClientOptions clientOptions)
-
-
Method Detail
-
retrieveV1
public ChrtApiHttpResponse<OrderDraftExpanded> retrieveV1(java.lang.String orderRef)
Fetches a single draft order with optional expanded related data. Any user in the org (with operator+ role) can access it. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpanded)
-
retrieveV1
public ChrtApiHttpResponse<OrderDraftExpanded> retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)
Fetches a single draft order with optional expanded related data. Any user in the org (with operator+ role) can access it. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpanded)
-
retrieveV1
public ChrtApiHttpResponse<OrderDraftExpanded> retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)
Fetches a single draft order with optional expanded related data. Any user in the org (with operator+ role) can access it. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpanded)
-
listV1
public ChrtApiHttpResponse<OrderDraftExpandedListRes> listV1(ExpandedListV1Request request)
Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
-
listV1
public ChrtApiHttpResponse<OrderDraftExpandedListRes> listV1(ExpandedListV1Request request, RequestOptions requestOptions)
Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
-
typeaheadV1
public ChrtApiHttpResponse<java.util.List<OrderTypeaheadResult>> typeaheadV1(ExpandedTypeaheadV1Request request)
Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
-
typeaheadV1
public ChrtApiHttpResponse<java.util.List<OrderTypeaheadResult>> typeaheadV1(ExpandedTypeaheadV1Request request, RequestOptions requestOptions)
Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
-
-