go back to CarrierService

GET /carriers/search

Searches the database for carriers matching the given request parameters.

Roles that can access this endpoint are Users.

Parameters

name description type default type
request read for query parameters to be used as search criteria; use any combination of fields from tables:
  • carrier - use carrier or no prefix
  • drs_payee - use drsPayee prefix
For example, /carriers/search?payee.state=AL&drsPayee.type_of=C would find carrier payees in the state of 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 payee.id+DESC will be applied.

For example, /carriers/search?drsPayee.type_of=C&orderBy=payee.id+DESC would return all carrier payee records sorted descending by the payee 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, /carrier/search?drsPayee.type_of=C&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
includeQualifications if the carrier is qualified at a generic level query false Boolean

Result

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

a list of RowPayee objects

Additional attributes:

Child Elements:

Try It Out

Request

- Authentication Help
- Boolean