The Value List Item object
Attributes
- id string Unique identifier for the object.
- value string The value of the item.
- value _ list string The identifier of the value list this item belongs to.
More attributes
- object string, value is "radar.value_list_item"
- created timestamp
- created _ by string
- livemode boolean
The Value List Item object
{ "id": "rsli_1MxxosLkdIwHu7ixxvA1yKiZ", "object": "radar.value_list_item", "created": 1681760074, "created_by": "API", "livemode": false, "value": "1.2.3.4", "value_list": "rsl_1MxxosLkdIwHu7ixNiiD01Kj"}
Create a value list item
POST / v1 / radar / value_list_items
Creates a new ValueListItem object, which is added to the specified parent value list.
Parameters
- value string Required The value of the item (whose type must match the type of the parent value list). The maximum length is 800 characters.
- value _ list string Required The identifier of the value list which the created item will be added to.
Returns
Returns a ValueListItem object if creation succeeds.
Response
{ "id": "rsli_1MxxosLkdIwHu7ixxvA1yKiZ", "object": "radar.value_list_item", "created": 1681760074, "created_by": "API", "livemode": false, "value": "1.2.3.4", "value_list": "rsl_1MxxosLkdIwHu7ixNiiD01Kj"}
Retrieve a value list item
GET / v1 / radar / value_list_items /:id
Retrieves a ValueListItem object.
Parameters
No parameters.
Returns
Returns a ValueListItem object if a valid identifier was provided.
Response
{ "id": "rsli_1MxxosLkdIwHu7ixxvA1yKiZ", "object": "radar.value_list_item", "created": 1681760074, "created_by": "API", "livemode": false, "value": "1.2.3.4", "value_list": "rsl_1MxxosLkdIwHu7ixNiiD01Kj"}
