POST api/{database}/ProductGroup

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductGroupProxy'.

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>