Getting pick lists: {PropertyName}/ and {PropertyName}/$count

Getting pick lists: {PropertyName}/ and {PropertyName}/$count

Fields that are pick lists (code types, problem codes, time codes, category codes, etc.) have a special endpoint that can return all of the valid pick list items. The format of the URL is

http://restapi.lucity.net/[Program]/[Module].svc/[Optionally the Child List]/[PropertyName]

For example:

http://restapi.lucity.net/gbaMnicoleS/Work/WorkOrders.svc/PriorityCode/

getting picklists

http://restapi.lucity.net/gbaMS/Work/WorkOrders.svc/WorkOrderTaskList/UnitofMeasureCode/

Work flow code types (such as problem, cause, and task) also follow this convention. All available problems which can be assigned to a work order are at this endpoint:

http://restapi.lucity.net/gbaMS/Work/WorkOrders.svc/MainTaskCode/

It is also possible to get a list of only the items associated to a specific category.

http://restapi.lucity.net/gbaMS/Work/WorkOrders.svc/CategoryCode/01000/MainTaskCode/

See Also

Special Functions

Getting Record Counts: $count

Caching support on lookups

Special lookups

Getting a new empty object: $new

Getting metadata: $fields

Discoverability

Document attachments, uploads, downloads

Working with Existing Filters: $filters and $myfilters

Errors

Commands

Tools

Clearing Cached Data: $cache

Warnings and Conflicts

Getting live updates based on property changes made by an end user

Secure Fields

ObjectCanBeEditied,ObjectCanBeDeleted

SQL Injection Considerations