Skip to content

REST_Get4DList

Julio Carneiro edited this page Oct 6, 2017 · 3 revisions

The REST_Get4DList HTTP POST Request is used to retrieve all items on a given 4D Choice List.

The POST request payload must include the following arguments/attributes:

  • listname: the 4D Choice List Name

The Request returns a JSON object with the following attributes:

  • values: an Array of strings with all Choice List items.

Here is a sample payload sent on a call to REST_Get4DList:

https://gyazo.com/1317d83ef9a4c99231b3a05509e6ac58

And a sample response from the request above:

{"values":["New Item # 1","New Item # 2","New Item # 3","New Item # 4","New Item # 5","New Item # 6"]}
Clone this wiki locally