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": "dad7101f-2abc-490d-8635-9f6954f0673f",
      "RuleId": "b092496b-7819-4626-9846-688a7bc7253a",
      "Id": "ef06ec90-89b3-4e87-a32e-f16d63b566c4",
      "ClientId": "95421f1b-b63e-4eb2-9636-d47ce524b48a",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-10-04 11:13:56",
      "UpdateDate": "2026-10-04 11:13:56",
      "CreateBy": "952a2917-ca71-441a-afdf-77551de20140",
      "UpdateBy": "d5a8ac1b-f726-4d38-b0ec-875875a3955c"
    },
    {
      "WeightFrom": 1.0,
      "WeightTo": 2.0,
      "Price": 3.0,
      "ZoneId": "dad7101f-2abc-490d-8635-9f6954f0673f",
      "RuleId": "b092496b-7819-4626-9846-688a7bc7253a",
      "Id": "ef06ec90-89b3-4e87-a32e-f16d63b566c4",
      "ClientId": "95421f1b-b63e-4eb2-9636-d47ce524b48a",
      "IsActive": true,
      "IsDeleted": true,
      "CreateDate": "2026-10-04 11:13:56",
      "UpdateDate": "2026-10-04 11:13:56",
      "CreateBy": "952a2917-ca71-441a-afdf-77551de20140",
      "UpdateBy": "d5a8ac1b-f726-4d38-b0ec-875875a3955c"
    }
  ],
  "rule": {
    "Seq": 1,
    "WeightFrom": 2.0,
    "WeightTo": 3.0,
    "FirstPrice": 4.0,
    "AddWeight": 5.0,
    "AddPrice": 6.0,
    "ExpressId": "dba92264-5180-4b3a-bab4-2efee33e4799",
    "MerchantId": "18141217-1a2f-4ed0-98b8-44941817e3b9",
    "Id": "ae07feed-4c0f-4aac-af7c-ef2bcd8a4fbc",
    "ClientId": "47b7f134-9ca9-47ba-a4bf-3f507cd3428d",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2026-10-04 11:13:56",
    "UpdateDate": "2026-10-04 11:13:56",
    "CreateBy": "7dd770f0-59cb-42e6-9974-53bd7c812984",
    "UpdateBy": "ac993394-a7f9-4d87-84b5-9bc03ac834f3"
  },
  "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": {}
}