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

Updates the specified WkrParameters



Request Information

Parameters

NameDescriptionAdditional information
calendarYear The calendarYear.

Define this parameter in the request URI.

value The updated values for WkrParameters.

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:

Sample not available.

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>