Class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost,BusinessUnit,BusinessUnitDraft>
com.commercetools.api.client.ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost
All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost>, ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost>, ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost>, io.vrap.rmf.base.client.ClientRequestCommand<BusinessUnit>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<BusinessUnit>, io.vrap.rmf.base.client.RequestCommand<BusinessUnit>



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.business_unit.BusinessUnit>> result = apiRoot
            .withProjectKey("{projectKey}")
            .asAssociate()
            .withAssociateIdValue("{associateId}")
            .businessUnits()
            .post(null)
            .execute()