GET api/v1/Rates?carrierCode={carrierCode}&fromPort={fromPort}&toPort={toPort}

GetPorts

Request Information

Parameters

NameDescriptionAdditional information
carrierCode

Define this parameter in the request URI.

fromPort

Define this parameter in the request URI.

toPort

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Carrier": "sample string 1",
    "Dep": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "CountryCode": "sample string 3"
    },
    "Arr": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "CountryCode": "sample string 3"
    },
    "CurrencyCode": "sample string 2",
    "General": {
      "EffFrom": "2025-04-24T12:26:42.3540195Z",
      "EffTo": "2025-04-24T12:26:42.3540195Z",
      "tsandcs": {
        "name": "sample string 1",
        "html": "sample string 2"
      },
      "Products": [
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        }
      ]
    },
    "Special": {
      "EffFrom": "2025-04-24T12:26:42.3540195Z",
      "EffTo": "2025-04-24T12:26:42.3540195Z",
      "tsandcs": {
        "name": "sample string 1",
        "html": "sample string 2"
      },
      "Products": [
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        }
      ]
    }
  },
  {
    "Carrier": "sample string 1",
    "Dep": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "CountryCode": "sample string 3"
    },
    "Arr": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "CountryCode": "sample string 3"
    },
    "CurrencyCode": "sample string 2",
    "General": {
      "EffFrom": "2025-04-24T12:26:42.3540195Z",
      "EffTo": "2025-04-24T12:26:42.3540195Z",
      "tsandcs": {
        "name": "sample string 1",
        "html": "sample string 2"
      },
      "Products": [
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        }
      ]
    },
    "Special": {
      "EffFrom": "2025-04-24T12:26:42.3540195Z",
      "EffTo": "2025-04-24T12:26:42.3540195Z",
      "tsandcs": {
        "name": "sample string 1",
        "html": "sample string 2"
      },
      "Products": [
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        }
      ]
    }
  },
  {
    "Carrier": "sample string 1",
    "Dep": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "CountryCode": "sample string 3"
    },
    "Arr": {
      "Code": "sample string 1",
      "Name": "sample string 2",
      "CountryCode": "sample string 3"
    },
    "CurrencyCode": "sample string 2",
    "General": {
      "EffFrom": "2025-04-24T12:26:42.3540195Z",
      "EffTo": "2025-04-24T12:26:42.3540195Z",
      "tsandcs": {
        "name": "sample string 1",
        "html": "sample string 2"
      },
      "Products": [
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        }
      ]
    },
    "Special": {
      "EffFrom": "2025-04-24T12:26:42.3540195Z",
      "EffTo": "2025-04-24T12:26:42.3540195Z",
      "tsandcs": {
        "name": "sample string 1",
        "html": "sample string 2"
      },
      "Products": [
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        },
        {
          "Name": "sample string 1",
          "Order": 2,
          "MinRate": 3.0,
          "NormalRate": 4.0,
          "Rates": [
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            },
            {
              "Weight": 1.1,
              "Value": 2.0
            }
          ]
        }
      ]
    }
  }
]