go back to CarrierService

GET /carriers/retrieve

Searches the database for carrier matching the given request parameters. Query parameters to be used as search criteria; All parameters are optional.

Roles that can access this endpoint are Freight Matching.

Parameters

name description type default type
id (Optional) The carrier ID or MC number to search for.
Multiple carrier ID and MC number values can be submitted if they are delimited with the '|' character
If no value is submitted then all carriers are eligible to be returned
For example, /carriers/retrieve?id=13ERIL|ALWALM would find carriers 13ERIL and ALWALM
query String
includeQualifications (Optional) Include the carrier qualification status in the response. If an override brokerage qualification profile has been set in Freight Matching control then this override profile will be used to determine the qualification status. If there is no override brokerage qualification profile set in Freight Matching control then the the brokerage dispatch control qualification profile will be used.
Defaults to false
query false Boolean
includePrimaryContact (Optional) Include the primary contact information in the response
Defaults to false
query false Boolean
includeLanePreferences (Optional) Include all carrier associated PNN Lane preferences in the response
Defaults to false
query false Boolean
includeEquipmentPreferences (Optional) Include all carrier associated equipment preferences in the response
Defaults to false
query false Boolean
recordLength (Optional) Number of records to return.
This value will be set to the smaller value between the vendor supplied recordLength parameter and the fmvendor_control.record_return_limit value set in the PowerBroker Freight Matching control

If there is no value set in the fmvendor_control.record_return_limit field then this value will default to the mobile_service.max_search value set in the PowerBroker Mobile Service control
query Integer
recordOffset (Optional) Start of offset in the returned data result set.
Defaults to 0
query Integer

Result

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

A list of RowPayee objects
If pagination is used the response data will include a __type 'URI' element that represents the next paginated /retrieve URI.
If there are no more records in the paginated result set or the id parameter is populated then the response data will not include a __type 'URI' element

Examples:

The response will be filtered to only return data that is represented by active records in the PowerBroker Freight Matching Control Carrier data output screen.
Returned data will be ordered by the carrier ID value in descending order

Pagination: To page the result set, you can provide the following reserved query parameters: recordLength and recordOffset
There is a secondary control that may further limit the pagination results to a maximum specified by the customer.

For example, /carrier/retrieve?id=13ERIL&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.


Child Elements:

Try It Out

Request

- Authentication Help
- String
- Boolean
- Boolean
- Boolean
- Boolean
- Integer
- Integer