PUT api/{database}/PaymentCondition/{paymentConditionId}

Updates the specified PaymentCondition



Request Information

Parameters

NameDescriptionAdditional information
paymentConditionId The paymentConditionId.

Define this parameter in the request URI.

value The updated values for PaymentCondition.

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",
  "expirationDays": 4,
  "isCollectable": true,
  "isKvc": true,
  "isPayable": true,
  "isSepa": true,
  "paymentConditionId": "sample string 9",
  "paymentConditionType": "A",
  "preferred": true,
  "rebateDays": 12,
  "rebatePercentage": 13.0
}

application/xml, text/xml

Sample:
<PaymentCondition 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>
  <Description>sample string 3</Description>
  <ExpirationDays>4</ExpirationDays>
  <IsCollectable>true</IsCollectable>
  <IsKvc>true</IsKvc>
  <IsPayable>true</IsPayable>
  <IsSepa>true</IsSepa>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PaymentConditionId>sample string 9</PaymentConditionId>
  <PaymentConditionType>65</PaymentConditionType>
  <Preferred>true</Preferred>
  <RebateDays>12</RebateDays>
  <RebatePercentage>13</RebatePercentage>
</PaymentCondition>

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",
  "expirationDays": 4,
  "isCollectable": true,
  "isKvc": true,
  "isPayable": true,
  "isSepa": true,
  "paymentConditionId": "sample string 9",
  "paymentConditionType": "A",
  "preferred": true,
  "rebateDays": 12,
  "rebatePercentage": 13.0
}

application/xml, text/xml

Sample:
<PaymentCondition 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>
  <Description>sample string 3</Description>
  <ExpirationDays>4</ExpirationDays>
  <IsCollectable>true</IsCollectable>
  <IsKvc>true</IsKvc>
  <IsPayable>true</IsPayable>
  <IsSepa>true</IsSepa>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PaymentConditionId>sample string 9</PaymentConditionId>
  <PaymentConditionType>65</PaymentConditionType>
  <Preferred>true</Preferred>
  <RebateDays>12</RebateDays>
  <RebatePercentage>13</RebatePercentage>
</PaymentCondition>