Examples of AdminCreateItemDto


Examples of org.multibit.mbm.client.interfaces.rest.api.item.AdminCreateItemDto

  }

  @Test
  public void adminCreateItemAsHalJson() throws Exception {

    AdminCreateItemDto createItemRequest = new AdminCreateItemDto();
    createItemRequest.setSKU("sku123");

    String actualResponse = configureAsClient(AdminItemResource.class)
      .accept(HalMediaType.APPLICATION_HAL_JSON)
      .entity(createItemRequest, MediaType.APPLICATION_JSON_TYPE)
      .post(String.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.