PUT api/{database}/DeliveryCondition/{deliveryConditionId}
Updates the specified DeliveryCondition
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
deliveryConditionId | The deliveryConditionId. |
Define this parameter in the request URI. |
value | The updated values for DeliveryCondition. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "abbreviation": "sample string 1", "messages": [], "canChange": true, "cannotChangeReason": "sample string 3", "deliveryConditionId": "sample string 4", "description": "sample string 5" }
application/xml, text/xml
Sample:
<DeliveryCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <Abbreviation>sample string 1</Abbreviation> <CanChange>true</CanChange> <CannotChangeReason>sample string 3</CannotChangeReason> <DeliveryConditionId>sample string 4</DeliveryConditionId> <Description>sample string 5</Description> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> </DeliveryCondition>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "abbreviation": "sample string 1", "messages": [], "canChange": true, "cannotChangeReason": "sample string 3", "deliveryConditionId": "sample string 4", "description": "sample string 5" }
application/xml, text/xml
Sample:
<DeliveryCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <Abbreviation>sample string 1</Abbreviation> <CanChange>true</CanChange> <CannotChangeReason>sample string 3</CannotChangeReason> <DeliveryConditionId>sample string 4</DeliveryConditionId> <Description>sample string 5</Description> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> </DeliveryCondition>