Built-In lists
The advantage of using the List endpoint, when it comes to build in lists, it that it is very straightforward and easy to choose the correct method. The Agent APIs, including the HTTP RPC Agent API and proxy clients, have methods that are named the same as the list. The method will return the list items with no added work. For example, the HTTP RPC Agent API GetCountries endpoint gets all countries. Use the list name to get all list items for built-in lists.- RESTful REST API
- HTTP RPC Agent API
- WebApi Proxy API
User-defined lists
Use the prefixudlist and suffix {listId} to get all list items for user-defined lists. For example, given a user-defined list named “MyCustomList” has an Id value of 94, the list name to use is udlist94.
See the relevant examples below.
- RESTful REST API
- HTTP RPC Agent API
- WebApi Proxy API
Must use the MDOList endpoint for user-defined lists.