POST AdminApi/Delivery/SaveTransRulePrice

Request Information

URI Parameters

None.

Body Parameters

TransRulePrice
NameDescriptionTypeAdditional information
charges

Collection of ExpressPrice

None.

rule

ExpressRule

None.

Request Formats

application/json, text/json

Sample:
{
  "charges": [
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "46ac13c4-11a3-4156-9dd6-867f8f72c820",
      "RuleId": "9c1505ac-9773-4cd3-a005-45380f4e6d4a",
      "Id": "85752b34-3b28-4784-b2c0-795b72ca69da",
      "ClientId": "33b2f606-d033-4f4a-a608-3da7853fd5fc",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2021-05-14 19:26:12",
      "UpdateDate": "2021-05-14 19:26:12",
      "CreateBy": "c1224c2f-365f-48ac-a576-08cc0d216d26",
      "UpdateBy": "52395c19-d539-4947-8852-2560eb188d88"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "46ac13c4-11a3-4156-9dd6-867f8f72c820",
      "RuleId": "9c1505ac-9773-4cd3-a005-45380f4e6d4a",
      "Id": "85752b34-3b28-4784-b2c0-795b72ca69da",
      "ClientId": "33b2f606-d033-4f4a-a608-3da7853fd5fc",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2021-05-14 19:26:12",
      "UpdateDate": "2021-05-14 19:26:12",
      "CreateBy": "c1224c2f-365f-48ac-a576-08cc0d216d26",
      "UpdateBy": "52395c19-d539-4947-8852-2560eb188d88"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "934b2852-07ef-4c2e-818d-88c1abd3d34d",
    "Id": "1f341996-c5d2-471e-8551-e436c6ea2394",
    "ClientId": "e1362216-b78b-48f1-89c3-c99468081edb",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2021-05-14 19:26:12",
    "UpdateDate": "2021-05-14 19:26:12",
    "CreateBy": "5b891b2b-a6b5-44b3-b7bb-6679eab42e40",
    "UpdateBy": "00aec898-3aa0-4800-9d6a-4d50f57a48c1"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}