Class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead,JsonNode>
com.commercetools.api.client.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead>, ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead>, ClientRequestCommand<JsonNode>, CreateHttpRequestCommand, HttpRequestCommand<JsonNode>, RequestCommand<JsonNode>

Checks if a BusinessUnit exists for a given Query Predicate. Returns a 200 OK status if any BusinessUnits match the Query Predicate or a 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .asAssociate()
            .withAssociateIdValue("{associateId}")
            .businessUnits()
            .head()
            .execute()