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-05-04T16:53:16Z",
  "Type": 1,
  "ID": "19739e13-4c9b-4610-8586-34c6f5335883"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.