Class DepartmentRoutingRulesClient


  • public class DepartmentRoutingRulesClient
    extends java.lang.Object
    • Constructor Detail

      • DepartmentRoutingRulesClient

        public DepartmentRoutingRulesClient​(ClientOptions clientOptions)
    • Method Detail

      • listV1

        public java.util.List<DepartmentRoutingRule1> listV1()
        Lists the caller org's department routing rules. | authz: min_org_role=operator | () -> (list[DepartmentRoutingRule1])
      • listV1

        public 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.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.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 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 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 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)