PUT api/{database}/WkrParameters/{calendarYear}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
calendarYear No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "calendarYear": 1,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "percentage": 4.0,
  "totalEmployees": 5,
  "totalIncome": 6.0
}

application/xml, text/xml

Sample:
<WkrParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <CalendarYear>1</CalendarYear>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Percentage>4</Percentage>
  <TotalEmployees>5</TotalEmployees>
  <TotalIncome>6</TotalIncome>
</WkrParameters>

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 'WkrParametersProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "calendarYear": 1,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "percentage": 4.0,
  "totalEmployees": 5,
  "totalIncome": 6.0
}

application/xml, text/xml

Sample:
<WkrParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <CalendarYear>1</CalendarYear>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Percentage>4</Percentage>
  <TotalEmployees>5</TotalEmployees>
  <TotalIncome>6</TotalIncome>
</WkrParameters>