younifyd
Menu

Get carriers for given filters

Get carriers for given filters

GET/carriers

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get carriers for given filters action (under Carriers).
  3. Fill in the fields below, then reference the result from later steps as {{getCarriersForGivenFilters.response.data}}.

Request

Query parameters

limitinteger

Maximum number of entities in the result. When fetching entities with children, the limit always applies to the amount of parent entities (max. 1000).

Default 100

filters[minId]integer

Minimum (inclusive) ID of entities that should be returned.

sortstring

Sort by the provided column.

One ofidDefault "id"

sortDirstring

Sort ascending or descending

One ofascdescDefault "asc"

cursorstring

Valid cursor used for pagination.

Response

Returns 200 with an object. Read it in later steps with {{getCarriersForGivenFilters.response.data.<field>}}.

entitiesarray<object>
idinteger

The ID of the carrier created by SCAYLE.

keystringrequired

The key of the carrier.

namestringrequired

Name of the carrier.

trackingUrlstring

Tracking URL of the carrier.

cursorobject
nextstring

The cursor pointing to the next page. If null there is no next page available.

json
{
  "entities": [
    {
      "key": "DHL_STD_NATIONAL",
      "name": "DHL",
      "id": 1,
      "trackingUrl": "http://nolp.dhl.de/nextt-online-public/set_identcodes.do"
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.