PUT api/v1/Rates/Update

Update rates

Request Information

Parameters

NameDescriptionAdditional information
rate
RateUpdateDTO

Define this parameter in the request body.

Request body formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Carrier": "sample string 1",
  "CurrencyCode": "sample string 2",
  "Dep": "sample string 3",
  "Arr": "sample string 4",
  "General": {
    "EffFrom": "2025-04-24T12:17:56.7178057Z",
    "EffTo": "2025-04-24T12:17:56.7178057Z",
    "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:17:56.7178057Z",
    "EffTo": "2025-04-24T12:17:56.7178057Z",
    "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
          }
        ]
      }
    ]
  }
}