Skip to content

POST /list/

Create Or Update Custom List Values

POST
/list/{field_key}

Bulk upsert list values for a choice-type custom field.

Inserts or replaces CustomListValue records for field_key. When
reset=true, all existing values for the field are deleted before
inserting new_values, performing a full replacement. When reset=false,
supplied values are upserted (insert-or-replace by _key).

Emits: (direct transaction — no event class)

Required scope: quality:form:update

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Path Parameters

field_key*
Type
string
Required

Query Parameters

reset
Type
boolean
Default
false

Request Body

application/json
JSON
[
  
{
  
  
"_id": "string",
  
  
"_key": "string",
  
  
"_rev": "string",
  
  
"field_key": "cf-001",
  
  
"ext_key": "ERP-COL-9005",
  
  
"value": "RAL 9005 Jet Black"
  
}
]

Responses

Successful Response

application/json
JSON
[
]

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.