request |
read for query parameters to be used as search criteria; use any combination of fields from tables:
quote_order - use quote_order no prefix
quote_stop - use shipper or consignee prefixes as appropriate
customer - use customer prefix
For example, /quote_orders/search?shipper.location_id=WARE*&consignee.state=AL
would find quote-orders from shipper locations starting with 'WARE' to consignees in Alabama.
Sorting: To sort the result set, you can provide the following reserved query parameter: orderBy If the orderBy parameter is not provided a default sort of quote_order.id+DESC will be applied.
For example, /quote_orders/search?shipper.sched_arrive_early=>=t-7&orderBy=quote_orders.id+DESC would return all quote-order records with a ship date for the prior seven days sorted descending by quote_order.id. Multiple sort columns can be provided in a comma delimited format. orderBy=prefix.field+direction,prefix.field+direction
Pagination: To page the result set, you can provide the following reserved query parameters: recordLength and recordOffset
For example, /quote_order/search?quote_order.id=*&recordLength=100&recordOffset=50 would return 100 records starting at the 51st record in the return record set. If no recordLength parameter is provided the search result maximum value in the mobile service control file will be applied. |
context
|
|
HttpServletRequest
|