POST api/{database}/CostUnit

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",
  "costUnitId": "sample string 3",
  "description": "sample string 4",
  "isActive": true,
  "shortName": "sample string 6"
}

application/xml, text/xml

Sample:
<CostUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CostUnitId>sample string 3</CostUnitId>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <ShortName>sample string 6</ShortName>
</CostUnit>

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",
  "costUnitId": "sample string 3",
  "description": "sample string 4",
  "isActive": true,
  "shortName": "sample string 6"
}

application/xml, text/xml

Sample:
<CostUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <CostUnitId>sample string 3</CostUnitId>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <ShortName>sample string 6</ShortName>
</CostUnit>