POST AdminApi/Delivery/SaveTransRulePrice

Request Information

URI Parameters

None.

Body Parameters

TransRulePrice
NameDescriptionTypeAdditional information
charges

Collection of ExpressPrice

None.

rule

ExpressRule

None.

ExpressName

string

None.

MerchantName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "charges": [
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "5f8e4bab-d866-4906-a07c-4013f344c04d",
      "RuleId": "191d7bf9-364c-48b3-8ffe-9fcfa9d7e5a7",
      "Id": "e5321299-2fb2-44f6-9068-fb3a43bd3d13",
      "ClientId": "0fc161d5-daf8-4531-a788-19ec0cde7cb3",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-07-30 16:31:26",
      "UpdateDate": "2026-07-30 16:31:26",
      "CreateBy": "8d0678f1-ff6a-45a6-9f10-051c47d7fe6d",
      "UpdateBy": "6020af90-4969-49f9-9bfe-b462e490af0f"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "5f8e4bab-d866-4906-a07c-4013f344c04d",
      "RuleId": "191d7bf9-364c-48b3-8ffe-9fcfa9d7e5a7",
      "Id": "e5321299-2fb2-44f6-9068-fb3a43bd3d13",
      "ClientId": "0fc161d5-daf8-4531-a788-19ec0cde7cb3",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-07-30 16:31:26",
      "UpdateDate": "2026-07-30 16:31:26",
      "CreateBy": "8d0678f1-ff6a-45a6-9f10-051c47d7fe6d",
      "UpdateBy": "6020af90-4969-49f9-9bfe-b462e490af0f"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "197f3dcc-8808-4a44-ad88-17b018e870ba",
    "MerchantId": "9d98136f-7c37-4947-8e66-7e63a0883d8a",
    "Id": "c390fca6-8bd8-40e3-b3b5-ae490d321eaa",
    "ClientId": "b3850b69-d9f5-4522-8fe6-af1c5b06057d",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2026-07-30 16:31:26",
    "UpdateDate": "2026-07-30 16:31:26",
    "CreateBy": "273a465e-d9a3-4b41-9f72-44d34e9d6fe7",
    "UpdateBy": "da42145c-ef95-4f59-9d32-da8cf2f90dd5"
  },
  "ExpressName": "sample string 1",
  "MerchantName": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TransRulePrice'.

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": {}
}