POST api/{database}/ProductGroup

Creates a new ProductGroup with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The ProductGroup with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "description": "sample string 3",
  "productGroupId": "sample string 4",
  "projectSurchargePercentage": 5.0,
  "relations": null
}

application/xml, text/xml

Sample:
<ProductGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Logistics.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <Description>sample string 3</Description>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <ProductGroupId>sample string 4</ProductGroupId>
  <ProjectSurchargePercentage>5</ProjectSurchargePercentage>
  <Relations xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Logistics.Lists" i:nil="true" />
</ProductGroup>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "description": "sample string 3",
  "productGroupId": "sample string 4",
  "projectSurchargePercentage": 5.0,
  "relations": null
}

application/xml, text/xml

Sample:
<ProductGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Logistics.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <Description>sample string 3</Description>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <ProductGroupId>sample string 4</ProductGroupId>
  <ProjectSurchargePercentage>5</ProjectSurchargePercentage>
  <Relations xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Logistics.Lists" i:nil="true" />
</ProductGroup>