PUT api/Picklists/{id}

Update an existing Picklist. This is not a partial update therefore, please pass in the full Picklist object (including items) to your request. For partial updates, use the PATCH endpoint

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the record

globally unique identifier

Required

Body Parameters

Serialized Picklist record in the body of the request

Picklist
NameDescriptionTypeAdditional information
IsAutoInsert

boolean

None.

CreateDate

date

None.

LastItemAdded

globally unique identifier

None.

Name

string

None.

Description

string

None.

Items

Collection of PickListItemValue

None.

IsEditable

boolean

None.

EditDate

date

None.

Type

PickListType

None.

ID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "IsAutoInsert": true,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Items": [
    {
      "Value": {},
      "Description": "sample string 2"
    },
    {
      "Value": {},
      "Description": "sample string 2"
    }
  ],
  "IsEditable": true,
  "EditDate": "2024-12-05T02:34:40Z",
  "Type": 1,
  "ID": "48272fed-e749-47f3-84da-e2f660bd1a82"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.