QQSolutions / QQCatalystAPI

QQSolutions, Inc.
http://www.qqsolutions.com/solutions/agencymanagement/qqcatalyst/
3 stars 9 forks source link

Method for returning LOB info #2

Open bri-dev opened 10 years ago

bri-dev commented 10 years ago

Please update documentation or add a method to the Lookups service that returns LOB information such as ID, Name, etc.

Thank you!

dholodnak commented 10 years ago

LOB method exists at Locations.svc/Location/{locationID}/Policy/LinesOfBusiness

bri-dev commented 10 years ago

Got it. Shouldn't it be located in the Lookups service along with all others descriptors? This regarding both LOB and Policy Sources.

Thank you, Dennis!

dholodnak commented 10 years ago

No problem, the reason why they are in the locations service is because both Lines of Business and Policy Sources, along with the other methods in that service, are dependant and customized per Location in an Agency. In other words the Miami location could have a complete different set of settings than the New York location.

At this moment the Lookup service is reserved for static lookups and system values that you would only need read-only access. Our intent is to attempt to keep the API URLs closely related to the URL layout of the website.

In upcoming version(s) of the API you will see a more robust locations service that allows full control of "Location Preferences" directly from the API, very much similar to browsing to Location Preferences in the website under User name -> Preferences -> Location Preferences.