From 624e5d995c2fa593fb517a99e4b8b5f775afbeaf Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Wed, 6 Apr 2016 21:25:41 -0700 Subject: Adding getLookupTable API. --- src/main/java/com/p4square/ccbapi/CCBAPI.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/java/com/p4square/ccbapi/CCBAPI.java') diff --git a/src/main/java/com/p4square/ccbapi/CCBAPI.java b/src/main/java/com/p4square/ccbapi/CCBAPI.java index f81a02f..bae2272 100644 --- a/src/main/java/com/p4square/ccbapi/CCBAPI.java +++ b/src/main/java/com/p4square/ccbapi/CCBAPI.java @@ -17,6 +17,16 @@ public interface CCBAPI extends Closeable { */ GetCustomFieldLabelsResponse getCustomFieldLabels() throws IOException; + /** + * Retrieve the list of items in a particular lookup table. + * + * Lookup tables provide the list of options for various pulldown fields. + * + * @return A GetLookupTableResponse containing the item ids and labels. + * @throws IOException on failure. + */ + GetLookupTableResponse getLookupTable(GetLookupTableRequest request) throws IOException; + /** * Retrieve one or more IndividualProfiles. * -- cgit v1.2.3