Package org.multibit.mbm.client.interfaces.rest.api.item

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


  }

  @Test
  public void adminUpdateItemAsHalJson() throws Exception {

    AdminUpdateItemDto updateItemRequest = new AdminUpdateItemDto();
    updateItemRequest.setSKU("sku123");
    updateItemRequest.setGTIN("gtin123");

    String actualResponse = configureAsClient("/admin/item/1")
      .accept(HalMediaType.APPLICATION_HAL_JSON)
      .entity(updateItemRequest, MediaType.APPLICATION_JSON_TYPE)
      .put(String.class);
View Full Code Here

TOP

Related Classes of org.multibit.mbm.client.interfaces.rest.api.item.AdminUpdateItemDto

Copyright © 2018 www.massapicom. 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.