Add values to pick list
This endpoint allows you to add values from a master value list to a specific pick list. Values may only be added to flat pick lists. You may not add values to a pick list if the pick list contains any hierarchical values.
Add values to a pick list
POST https://ris.rightsline.com/v4/pick-list/:listID/value
Path Parameters
Name
Type
Description
listID*
guid
The pick list ID.
Headers
Name
Type
Description
Authorization*
String
Authorization token.
x-api-key*
String
Your company's API key.
Content-Type*
String
application/json
Request Body
Name
Type
Description
valueIds*
Array
List of value IDs to add.
{
"message": "No pick list found with ID {pick-list-id}"
}{
"message": "No values found in master list {master-value-list-id} with IDs {value-ids}"
}{
"message": "Pick list {pick-list-id} contains hierarchical values. Values may only be added to flat pick lists."
}[
{
"id": "28352549-f014-4c71-b85f-2c49778bf9ed",
"name": "Letters",
"values": [
{
"id": 1,
"label": "A",
"description": "The letter A",
"xref": "A",
"status": "Active"
},
{
"id": 2,
"label": "B",
"description": "The letter B",
"xref": "B",
"status": "Active"
}
]
}
]Last updated
Was this helpful?

