Documentation
Documentation
the ChannelSUITE API provides some “helper” functions that may be useful in constructing the client side of an interface to ChannelSUITE. Available helper functions include:
this family of services returns lists of standard normalized field values useful for constructing HTML form <select> elements that are compatible with your ChannelSUITE database
http://<your channelsuite URL>/API/misc/list.cgi?country=1
http://<your channelsuite URL>/API/misc/list.cgi?sp=1
http://<your channelsuite URL>/API/misc/list.cgi?sp=1&countrycode=<your country code>
Note: you may be tempted to call the list services via ajax to get an up-to-date list on demand. Since we purposefully avoided “polluting” the returned data with extra information, this can be made to work technically. However, the list data does not change frequently, so hardcoding the option lists and doing an occasionally maintenance update may offer a better cost/performance tradeoff (in other words – doing it the fancy way may not be worth the effort!)