Class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead

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

Checks if a BusinessUnit exists for a given key. Returns a 200 OK status if the BusinessUnit exists or a 404 Not Found otherwise.



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