go back to QuoteOrderService

GET /quoteOrders/search

Searches the database for quote-orders matching the given request parameters.

Roles that can access this endpoint are Users, Customers.

Parameters

name description type default type
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, /quoteOrders/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, /quoteOrders/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.

Changed After Date: To return only records that have been changed or added since a specific date and time, you can provide the changedAfterDate parameter. Dates are limited to the audit setting and days to keep value in the table properties configuration.

For example, /quoteOrders/search?quote_order.id=*&changedAfterDate=t-1 would return all quote orders that have been added or updated since the beginning of the previous day.

Change Types: To further define the types of changes you want to filter, use the changedAfterType parameter. This parameter is to be used in conjunction with changedAfterDate to give the ability to specify if you want added or updated records.

Allowed values: [Add, Update]. Any other value will result in an exception. If the ChangedAfterType parameter is not provided, both added and updated records will be returned. If you do not provide a corresponding ChangedAfterDate the ChangedAfterType parameter will be ignored.

For example, /quoteOrders/search?quote_order.id=*&changedAfterDate=t-1&changedAfterType=Add would return all quote orders that have been added since the beginning of the previous day.

context HttpServletRequest

Result

List < RowAbstractOrder > of type: application/xml application/json

a list of RowQuoteOrder objects

Additional attributes:

Child Elements:

Try It Out

Request

- Authentication Help