PUT api/settings/EditOption?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OptionViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Label

string

Required

Description

string

None.

Created

date

None.

Enabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Label": "sample string 3",
  "Description": "sample string 4",
  "Created": "2026-01-02T17:33:31.508842+00:00",
  "Enabled": true
}

application/xml, text/xml

Sample:
<OptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryCore.ViewModels">
  <Code>sample string 2</Code>
  <Created>2026-01-02T17:33:31.508842+00:00</Created>
  <Description>sample string 4</Description>
  <Enabled>true</Enabled>
  <Id>1</Id>
  <Label>sample string 3</Label>
</OptionViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.