Class AsyncDepartmentRoutingRulesClient
- java.lang.Object
-
- com.chrt.api.resources.operations.departmentroutingrules.AsyncDepartmentRoutingRulesClient
-
public class AsyncDepartmentRoutingRulesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncDepartmentRoutingRulesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1()Clears the caller org's default operations desk for a counterparty, keyed by exactly one of the shipper_org_id / off_chrt_shipper_org_id query params.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1(DepartmentRoutingRulesDeleteV1Request request)Clears the caller org's default operations desk for a counterparty, keyed by exactly one of the shipper_org_id / off_chrt_shipper_org_id query params.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1(DepartmentRoutingRulesDeleteV1Request request, RequestOptions requestOptions)Clears the caller org's default operations desk for a counterparty, keyed by exactly one of the shipper_org_id / off_chrt_shipper_org_id query params.java.util.concurrent.CompletableFuture<java.util.List<DepartmentRoutingRule1>>listV1()Lists the caller org's department routing rules.java.util.concurrent.CompletableFuture<java.util.List<DepartmentRoutingRule1>>listV1(RequestOptions requestOptions)Lists the caller org's department routing rules.java.util.concurrent.CompletableFuture<java.lang.String>upsertV1(DepartmentRoutingRuleClientCreate1 request)Sets the caller org's default operations desk for a counterparty.java.util.concurrent.CompletableFuture<java.lang.String>upsertV1(DepartmentRoutingRuleClientCreate1 request, RequestOptions requestOptions)Sets the caller org's default operations desk for a counterparty.AsyncRawDepartmentRoutingRulesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncDepartmentRoutingRulesClient
public AsyncDepartmentRoutingRulesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawDepartmentRoutingRulesClient withRawResponse()
Get responses with HTTP metadata like headers
-
listV1
public java.util.concurrent.CompletableFuture<java.util.List<DepartmentRoutingRule1>> listV1()
Lists the caller org's department routing rules. | authz: min_org_role=operator | () -> (list[DepartmentRoutingRule1])
-
listV1
public java.util.concurrent.CompletableFuture<java.util.List<DepartmentRoutingRule1>> listV1(RequestOptions requestOptions)
Lists the caller org's department routing rules. | authz: min_org_role=operator | () -> (list[DepartmentRoutingRule1])
-
upsertV1
public java.util.concurrent.CompletableFuture<java.lang.String> upsertV1(DepartmentRoutingRuleClientCreate1 request)
Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
-
upsertV1
public java.util.concurrent.CompletableFuture<java.lang.String> upsertV1(DepartmentRoutingRuleClientCreate1 request, RequestOptions requestOptions)
Sets the caller org's default operations desk for a counterparty. The body must set exactly one of shipper_org_id (on-chrt shipper) / off_chrt_shipper_org_id (off-chrt shipper shell) (XOR). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
-
deleteV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1()
Clears the caller org's default operations desk for a counterparty, keyed by exactly one of the shipper_org_id / off_chrt_shipper_org_id query params. | authz: min_org_role=administrator | () -> (bool)
-
deleteV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1(DepartmentRoutingRulesDeleteV1Request request)
Clears the caller org's default operations desk for a counterparty, keyed by exactly one of the shipper_org_id / off_chrt_shipper_org_id query params. | authz: min_org_role=administrator | () -> (bool)
-
deleteV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1(DepartmentRoutingRulesDeleteV1Request request, RequestOptions requestOptions)
Clears the caller org's default operations desk for a counterparty, keyed by exactly one of the shipper_org_id / off_chrt_shipper_org_id query params. | authz: min_org_role=administrator | () -> (bool)
-
-